summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 2003d9d..a15a0c0 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -2190,7 +2190,7 @@ I derived a mode for twig, in order to use its =mode-hook=.
 (use-package flyspell
   :config (progn
             (add-hook 'text-mode-hook (lambda () (flyspell-mode +1)))
-            (add-hook 'prog-mode-hook (lambda () (flyspell-prog-mode +1)))))
+            (add-hook 'prog-mode-hook #'flyspell-prog-mode)))
 #+END_SRC
 
 * Scripting