aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
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