diff --git a/layers/spell-checking/packages.el b/layers/spell-checking/packages.el index a9671d2d1..496c4c7e8 100644 --- a/layers/spell-checking/packages.el +++ b/layers/spell-checking/packages.el @@ -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