visual-fill-column in dired-mode

This commit is contained in:
Evie Litherland-Smith 2024-10-05 16:41:22 +01:00
parent ec3cbbb111
commit df84dc2a31

View file

@ -187,7 +187,7 @@ Configure the look and feel of Emacs
(add-to-list 'package-selected-packages 'visual-fill-column) (add-to-list 'package-selected-packages 'visual-fill-column)
(use-package visual-fill-column (use-package visual-fill-column
:if (package-installed-p 'visual-fill-column) :if (package-installed-p 'visual-fill-column)
:hook (((org-src-mode org-agenda-mode) . (lambda () (visual-fill-column-mode +1))) :hook (((dired-mode org-src-mode org-agenda-mode) . (lambda () (visual-fill-column-mode +1)))
((doc-view-mode image-mode) . (lambda () (visual-fill-column-mode -1)))) ((doc-view-mode image-mode) . (lambda () (visual-fill-column-mode -1))))
:custom :custom
(visual-fill-column-width 160) (visual-fill-column-width 160)