summary refs log tree commit diff
path: root/config/init-writing.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-19 14:32:08 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-19 14:32:08 -0700
commit60bf269ae02d80015229fca53a79cae0df399759 (patch)
tree20d25cfbce44d1472900c5f589aa831649385a43 /config/init-writing.el
parentadd back the binding for `join-line` (diff)
downloademacs.d-60bf269ae02d80015229fca53a79cae0df399759.tar.gz
simplify flyspell
Change-Id: I1324b3d4be411d334da87b178a8a8891d12c9be4
Diffstat (limited to 'config/init-writing.el')
-rw-r--r--config/init-writing.el6
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")