summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-11 13:49:54 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-11 13:49:54 +0200
commit8775d1eab95542459bce315d6291f88065830358 (patch)
tree2aa03d0ed33840568eb82a306196217aa2d23013 /.config/emacs
parent2d8bc8fb87031b00ade9939e74bdeb521f504108 (diff)
emacs: Configure ‘auto-fill-mode’
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/config.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org
index c65fcca..c67e956 100644
--- a/.config/emacs/config.org
+++ b/.config/emacs/config.org
@@ -954,3 +954,16 @@ org-buffer to keep everything looking nice and structured.
(add-hook 'org-mode-hook #'org-indent-mode)
#+END_SRC
+
+*** Auto-Fill-Mode
+
+I do like to use this mode, especially when writing. I also want it when coding
+/sometimes/, but not always. Overall it’s a pretty useful mode — but I am super
+mixed on when I do and -don’t want it. I always want it in ~org-mode~ though.
+
+#+BEGIN_SRC elisp
+
+ (setq fill-column 80)
+ (add-hook 'org-mode-hook #'auto-fill-mode)
+
+#+END_SRC