diff --git a/README.org b/README.org index f037693..d0c62ba 100644 --- a/README.org +++ b/README.org @@ -314,6 +314,9 @@ keep the loading order in mind when doing so. (epa-file-enable) (setq epg-pinentry-mode 'loopback) (setq epa-file-encrypt-to '("xulfer@cheapbsd.net")) + :hook + (prog-mode-hook . flyspell-prog-mode) + (text-mode-hook . flyspell-mode) :custom (scroll-conservatively 101 "Scroll just enough to bring text into view") (enable-recursive-minibuffers t "Allow minibuffer commands in minibuffer") diff --git a/config/general.org b/config/general.org index 690fe75..fe1c244 100644 --- a/config/general.org +++ b/config/general.org @@ -32,6 +32,9 @@ keep the loading order in mind when doing so. (epa-file-enable) (setq epg-pinentry-mode 'loopback) (setq epa-file-encrypt-to '("xulfer@cheapbsd.net")) + :hook + (prog-mode-hook . flyspell-prog-mode) + (text-mode-hook . flyspell-mode) :custom (scroll-conservatively 101 "Scroll just enough to bring text into view") (enable-recursive-minibuffers t "Allow minibuffer commands in minibuffer")