Enable visual-fill-column for man (and derived) modes

This commit is contained in:
Evie Litherland-Smith 2024-11-22 06:32:06 +00:00
parent 1f29dd7df1
commit 4e14c8c56f

View file

@ -200,10 +200,10 @@ Configure the look and feel of Emacs
:hook ((prog-mode . (lambda () :hook ((prog-mode . (lambda ()
(visual-line-mode +1) (visual-line-mode +1)
(visual-fill-column-mode +1))) (visual-fill-column-mode +1)))
(Info-mode . (lambda () ((Info-mode man-common) . (lambda ()
(setq-local visual-fill-column-width 80) (setq-local visual-fill-column-width 80)
(visual-line-mode +1) (visual-line-mode +1)
(visual-fill-column-mode +1)))) (visual-fill-column-mode +1))))
:custom :custom
(visual-fill-column-width 120) (visual-fill-column-width 120)
(visual-fill-column-center-text t) (visual-fill-column-center-text t)