summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-04-06 12:45:24 -0500
committerCase Duckworth2021-04-06 12:45:24 -0500
commit3a18f6146619e1c97a72a9b1b315177e6f7247ad (patch)
treeb9d17553461b3baadbc52d27912f33307ecb642e /init.el
parentSwitch `icomplete-vertical' for `vertico' (diff)
downloademacs-3a18f6146619e1c97a72a9b1b315177e6f7247ad.tar.gz
emacs-3a18f6146619e1c97a72a9b1b315177e6f7247ad.zip
Unwrap `flyspell-correct' from the `when (executable-find ...'
Diffstat (limited to 'init.el')
-rw-r--r--init.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/init.el b/init.el index abb469d..aa35f34 100644 --- a/init.el +++ b/init.el
@@ -761,10 +761,9 @@ if ripgrep is installed, otherwise `consult-grep'."
761 (:option 0x0-default-host 'ttm)) 761 (:option 0x0-default-host 'ttm))
762 762
763;;;;; Flyspell-correct 763;;;;; Flyspell-correct
764(when (executable-find ispell-program-name) 764(with-eval-after-load 'flyspell
765 (with-eval-after-load 'flyspell 765 (setup (:straight flyspell-correct)
766 (setup (:straight flyspell-correct) 766 (define-key flyspell-mode-map (kbd "C-;") #'flyspell-correct-wrapper)))
767 (define-key flyspell-mode-map (kbd "C-;") #'flyspell-correct-wrapper))))
768 767
769;;;; System tie-ins 768;;;; System tie-ins
770;; Insctead of using `setup''s `:needs', I'm going to wrap these in 769;; Insctead of using `setup''s `:needs', I'm going to wrap these in