diff options
author | Franck Cuny <franck@fcuny.net> | 2024-04-19 14:32:08 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-04-19 14:32:08 -0700 |
commit | 60bf269ae02d80015229fca53a79cae0df399759 (patch) | |
tree | 20d25cfbce44d1472900c5f589aa831649385a43 | |
parent | add back the binding for `join-line` (diff) | |
download | emacs.d-60bf269ae02d80015229fca53a79cae0df399759.tar.gz |
simplify flyspell
Change-Id: I1324b3d4be411d334da87b178a8a8891d12c9be4
-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") |