[Emacs] Faster mu4e update if no need to invoke mbsync

This commit is contained in:
Lucien Cartier-Tilet 2022-11-18 03:53:40 +01:00
parent a570ebbc07
commit 8022fff67e
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1718,6 +1718,11 @@ configuration for the ~mu4e~ package itself.
(defmacro mu4e-view-mode--prepare () (defmacro mu4e-view-mode--prepare ()
`(lambda () (visual-line-mode 1))) `(lambda () (visual-line-mode 1)))
:gfhook ('mu4e-view-mode-hook (mu4e-view-mode--prepare)) :gfhook ('mu4e-view-mode-hook (mu4e-view-mode--prepare))
:general
(phundrak/evil
:keymaps 'mu4e-main-mode-map
:packages 'mu4e
"U" #'mu4e-update-index)
:config :config
(require 'mu4e-view) (require 'mu4e-view)
(with-eval-after-load 'mm-decode (with-eval-after-load 'mm-decode