From eef7c81e90e76ee47a97be05f276144caf16367e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 20 Nov 2024 10:17:02 +0000 Subject: [PATCH] Don't enable visual-fill-column-mode in text-mode, just prog-mode --- README.org | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 9776e58..af7ff00 100644 --- a/README.org +++ b/README.org @@ -189,14 +189,13 @@ Configure the look and feel of Emacs #+end_src *** Visual fill column #+begin_src emacs-lisp -(setopt fill-column 80) (add-to-list 'package-selected-packages 'visual-fill-column) (use-package visual-fill-column :if (package-installed-p 'visual-fill-column) :functions (visual-fill-column-mode) - :hook (((text-mode prog-mode) . (lambda () (visual-line-mode +1) (visual-fill-column-mode +1)))) + :hook ((prog-mode . (lambda () (visual-line-mode +1) (visual-fill-column-mode +1)))) :custom - (visual-fill-column-width 120) + (visual-fill-column-width 160) (visual-fill-column-center-text t) (visual-fill-column-enable-sensible-window-split t) :config