Emacs: Fix error initialising flyspell-prog-mode
Alan Pearce alan@alanpearce.uk
Sat, 22 Apr 2017 16:21:40 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -2190,7 +2190,7 @@ #+BEGIN_SRC emacs-lisp (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