From 75269f876107e3b689a852ac8f3bd036ee059852 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 21 Nov 2024 09:48:16 +0000 Subject: [PATCH] Enable visual-fill-column for Info-mode with custom width of 80 Reduce default visual-fill-column width to 120 --- README.org | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 3e883e7..9fb48bc 100644 --- a/README.org +++ b/README.org @@ -193,9 +193,15 @@ Configure the look and feel of Emacs (use-package visual-fill-column :if (package-installed-p 'visual-fill-column) :functions (visual-fill-column-mode) - :hook ((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))) + (Info-mode . (lambda () + (setq-local visual-fill-column-width 80) + (visual-line-mode +1) + (visual-fill-column-mode +1)))) :custom - (visual-fill-column-width 160) + (visual-fill-column-width 120) (visual-fill-column-center-text t) (visual-fill-column-enable-sensible-window-split t) :config