From 8775d1eab95542459bce315d6291f88065830358 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 11 Aug 2023 13:49:54 +0200 Subject: emacs: Configure ‘auto-fill-mode’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/config.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- cgit v1.2.3