Add hooks to disable visual-fill-column-mode for doc-view and images
doc-view disable internal scaling, for better resolution
This commit is contained in:
parent
bb279d7730
commit
16f9b6e39b
|
@ -172,7 +172,8 @@ Configure the look and feel of Emacs
|
|||
(add-to-list 'package-selected-packages 'visual-fill-column)
|
||||
(use-package visual-fill-column
|
||||
:if (package-installed-p 'visual-fill-column)
|
||||
:hook (org-src-mode . visual-fill-column-mode)
|
||||
:hook ((org-src-mode . (lambda () (visual-fill-column-mode +1)))
|
||||
((doc-view-mode image-mode) . (lambda () (visual-fill-column-mode -1))))
|
||||
:custom
|
||||
(visual-fill-column-width 160)
|
||||
(visual-fill-column-center-text t)
|
||||
|
@ -1560,8 +1561,7 @@ Configure email with iCalendar event support, to integrate with
|
|||
:custom
|
||||
(doc-view-resolution 200)
|
||||
(doc-view-imenu-enabled t)
|
||||
(doc-view-scale-internally t)
|
||||
(doc-view-image-width 850))
|
||||
(doc-view-scale-internally nil))
|
||||
|
||||
(add-to-list 'package-selected-packages 'auctex)
|
||||
(use-package auctex
|
||||
|
|
Loading…
Reference in a new issue