From 3a18f6146619e1c97a72a9b1b315177e6f7247ad Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 6 Apr 2021 12:45:24 -0500 Subject: Unwrap `flyspell-correct' from the `when (executable-find ...' --- init.el | 7 +++---- 1 file 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'." (:option 0x0-default-host 'ttm)) ;;;;; Flyspell-correct -(when (executable-find ispell-program-name) - (with-eval-after-load 'flyspell - (setup (:straight flyspell-correct) - (define-key flyspell-mode-map (kbd "C-;") #'flyspell-correct-wrapper)))) +(with-eval-after-load 'flyspell + (setup (:straight flyspell-correct) + (define-key flyspell-mode-map (kbd "C-;") #'flyspell-correct-wrapper))) ;;;; System tie-ins ;; Insctead of using `setup''s `:needs', I'm going to wrap these in -- cgit 1.4.1-21-gabe81