[Emacs] Better mu4e-view-mode behavior
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5f7473d475
commit
f6709bbb39
@ -1305,15 +1305,17 @@ configuration for the ~mu4e~ package itself.
|
|||||||
:straight (:build t :location site)
|
:straight (:build t :location site)
|
||||||
:commands mu4e mu4e-compose-new
|
:commands mu4e mu4e-compose-new
|
||||||
:init
|
:init
|
||||||
(progn
|
(setq mu4e-completing-read-function 'completing-read
|
||||||
(setq mu4e-completing-read-function 'completing-read
|
mu4e-use-fancy-chars t
|
||||||
mu4e-use-fancy-chars t
|
mu4e-view-show-images t
|
||||||
mu4e-view-show-images t
|
message-kill-buffer-on-exit t
|
||||||
message-kill-buffer-on-exit t
|
mu4e-org-support nil)
|
||||||
mu4e-org-support nil)
|
(let ((dir "~/Downloads/mu4e"))
|
||||||
(let ((dir "~/Downloads/mu4e"))
|
(when (file-directory-p dir)
|
||||||
(when (file-directory-p dir)
|
(setq mu4e-attachment-dir dir)))
|
||||||
(setq mu4e-attachment-dir dir))))
|
(defmacro mu4e-view-mode--prepare ()
|
||||||
|
`(lambda () (visual-line-mode 1)))
|
||||||
|
:gfhook ('mu4e-view-mode-hook (mu4e-view-mode--prepare))
|
||||||
:general
|
:general
|
||||||
<<mu4e-keybindings-undef>>
|
<<mu4e-keybindings-undef>>
|
||||||
<<mu4e-keybindings-view>>
|
<<mu4e-keybindings-view>>
|
||||||
|
Loading…
Reference in New Issue
Block a user