diff options
Diffstat (limited to '')
-rw-r--r-- | config/init-writing.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/config/init-writing.el b/config/init-writing.el index c60a18a..578ad86 100644 --- a/config/init-writing.el +++ b/config/init-writing.el @@ -10,16 +10,12 @@ (require 'init-markdown) (use-package flyspell - :commands (flyspell-mode flyspell-prog-mode) + :defer :hook ((text-mode . flyspell-mode) (org-mode . flyspell-mode) (git-commit-mode . flyspell-mode) (prog-mode . flyspell-prog-mode)) - :if (setq ispell-program-name (executable-find "aspell")) :diminish flyspell-mode - :bind (:map flyspell-mode-map - ("C-." . nil) - ("C-;" . nil)) :custom (ispell-silently-savep t) (ispell-local-dictionary "en_US") |