Enable visual-fill-column for Info-mode with custom width of 80

Reduce default visual-fill-column width to 120
This commit is contained in:
Evie Litherland-Smith 2024-11-21 09:48:16 +00:00
parent b3d080ae51
commit 75269f8761

View file

@ -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