diff options
author | Case Duckworth | 2021-09-10 18:29:10 -0500 |
---|---|---|
committer | Case Duckworth | 2021-09-10 18:29:10 -0500 |
commit | 9b076cc3d90e634222e872c962f51039a7e1ad08 (patch) | |
tree | cd3eed4f27827de8cf2caf287fda1c3c9b692ad2 | |
parent | Add studlify-dwim to case-map (diff) | |
download | emacs-9b076cc3d90e634222e872c962f51039a7e1ad08.tar.gz emacs-9b076cc3d90e634222e872c962f51039a7e1ad08.zip |
Fix flyspell-correct loading
-rw-r--r-- | init.el | 4 |
1 files 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: | |||
1018 | "M-p" #'flymake-goto-prev-error)) | 1018 | "M-p" #'flymake-goto-prev-error)) |
1019 | 1019 | ||
1020 | (setup flyspell | 1020 | (setup flyspell |
1021 | (add-hook 'text-mode-hook #'flyspell-mode)) | 1021 | (:hook-into text-mode)) |
1022 | 1022 | ||
1023 | (setup (:straight flyspell-correct) | 1023 | (setup (:straight flyspell-correct) |
1024 | (:with-mode flyspell-mode | 1024 | (:with-feature flyspell |
1025 | (:hook (defun flyspell@correct () | 1025 | (:hook (defun flyspell@correct () |
1026 | (:bind "C-;" #'flyspell-correct-wrapper) | 1026 | (:bind "C-;" #'flyspell-correct-wrapper) |
1027 | (:unbind "C-," "C-." "C-M-i"))))) | 1027 | (:unbind "C-," "C-." "C-M-i"))))) |