Don't use add-hook! macro if not necessary

This commit is contained in:
Wojciech Kozlowski 2022-04-11 12:54:52 +02:00
parent 605ecc863b
commit d46069050c

View File

@ -145,7 +145,7 @@
(setq magit-display-buffer-function #'magit-display-buffer-traditional))
;; Rainbow delimiters in all prog-mode buffers.
(add-hook! prog-mode #'rainbow-delimiters-mode-enable)
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode-enable)
;; Make pyvenv more convenient by defaulting to the correct directory.
(after! pyvenv