aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorHenry J. Webster <hwebs@hwebs.info>2026-10-17 12:41:03 -0500
committerHenry J. Webster <hwebs@hwebs.info>2026-10-17 12:41:03 -0500
commitcfb4518cecf3037e5c0b4198d50120211e179a44 (patch)
treeb0cd4f0ac1a88fe4ae819727341cbb23baf4992d /emacs
parent8bb80d01d5c3523efe47807cd20006aecb5f47c9 (diff)
emacs: enable auto-full for text mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.config/emacs/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el
index 815788f..ce077b2 100644
--- a/emacs/.config/emacs/init.el
+++ b/emacs/.config/emacs/init.el
@@ -6,6 +6,9 @@
(set-face-attribute 'line-number-current-line nil
:weight 'bold)
+;; Automatically wrap prose in text mode and its derived modes.
+(add-hook 'text-mode-hook #'turn-on-auto-fill)
+
;; Keep recovery files out of projects and the configuration directory.
(let* ((xdg-state (getenv "XDG_STATE_HOME"))
(state-dir