Use flyspell-mode-off to turn off flyspell
Otherwise the hook is run.
This commit is contained in:
parent
09cb12cf30
commit
c960bfefd5
|
@ -50,7 +50,7 @@
|
|||
(adict-change-dictionary ispell-local-dictionary)))
|
||||
:off
|
||||
(progn
|
||||
(flyspell-mode -1)
|
||||
(flyspell-mode-off)
|
||||
;; Also disable auto-dictionary when disabling spell-checking.
|
||||
(when (fboundp 'auto-dictionary-mode) (auto-dictionary-mode -1)))
|
||||
:documentation
|
||||
|
|
Loading…
Reference in a new issue