Enable visual-fill-column-mode for org-agenda
This commit is contained in:
parent
c57e5e38be
commit
75dd04379d
|
@ -173,7 +173,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 . (lambda () (visual-fill-column-mode +1)))
|
:hook (((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)
|
||||||
|
|
Loading…
Reference in a new issue