diff options
author | Alan Pearce | 2017-04-22 16:21:40 +0200 |
---|---|---|
committer | Alan Pearce | 2017-04-22 16:21:40 +0200 |
commit | 9f656fdbcdcbc155864b8bebe474ed29af39ff76 (patch) | |
tree | c99a73d553a438a0a9d430a92c5eaf782f46d6a2 /emacs | |
parent | 7e21e4ccc85a2a119d4ad090031071caa08fa5bc (diff) | |
download | nixfiles-9f656fdbcdcbc155864b8bebe474ed29af39ff76.tar.lz nixfiles-9f656fdbcdcbc155864b8bebe474ed29af39ff76.tar.zst nixfiles-9f656fdbcdcbc155864b8bebe474ed29af39ff76.zip |
Emacs: Fix error initialising flyspell-prog-mode
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 2003d9de..a15a0c03 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 |