From 5651db78c0172e2956d010e1dd29be0d89ce4d47 Mon Sep 17 00:00:00 2001 From: Micheal Smith Date: Sat, 1 Nov 2025 08:53:13 -0500 Subject: [PATCH] Enabling flyspell-mode, and flyspell-prog-mode by default. --- README.org | 3 +++ config/general.org | 3 +++ 2 files changed, 6 insertions(+) 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")