diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-10-17 12:41:03 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-10-17 12:41:03 -0500 |
| commit | cfb4518cecf3037e5c0b4198d50120211e179a44 (patch) | |
| tree | b0cd4f0ac1a88fe4ae819727341cbb23baf4992d | |
| parent | 8bb80d01d5c3523efe47807cd20006aecb5f47c9 (diff) | |
emacs: enable auto-full for text mode
| -rw-r--r-- | emacs/.config/emacs/init.el | 3 |
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 |
