From 9b076cc3d90e634222e872c962f51039a7e1ad08 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Fri, 10 Sep 2021 18:29:10 -0500 Subject: Fix flyspell-correct loading --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 80e3f39..40f40b2 100644 --- a/init.el +++ b/init.el @@ -1018,10 +1018,10 @@ specific to most general, they are these: "M-p" #'flymake-goto-prev-error)) (setup flyspell - (add-hook 'text-mode-hook #'flyspell-mode)) + (:hook-into text-mode)) (setup (:straight flyspell-correct) - (:with-mode flyspell-mode + (:with-feature flyspell (:hook (defun flyspell@correct () (:bind "C-;" #'flyspell-correct-wrapper) (:unbind "C-," "C-." "C-M-i"))))) -- cgit 1.4.1-21-gabe81