Commit e28a78f5 authored by Karl Heuer's avatar Karl Heuer
Browse files

(flyspell-mode-on): Use

parent 7da6666a
......@@ -359,6 +359,8 @@ flyspell-buffer checks the whole buffer."
'(lambda ()
(if (and flyspell-multi-language-p ispell-process)
(ispell-kill-ispell t))))
(make-local-hook 'change-major-mode-hook)
(add-hook 'change-major-mode-hook 'flyspell-mode-off)
;; we end with the flyspell hooks
(run-hooks 'flyspell-mode-hook))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment