1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-20 06:46:50 +02:00

mu4e: add mu4e-msg-changed-hook to mu4e-index-updated-hook globally

This commit is contained in:
Jun Hao 2016-12-11 21:22:19 +08:00
parent 1f232b6737
commit 59dfcb5ac5

View File

@ -912,7 +912,7 @@ user-interaction ongoing."
;; maybe update the current headers upon indexing changes
(add-hook 'mu4e-index-updated-hook 'mu4e~headers-do-auto-update nil t)
(add-hook 'mu4e-index-updated-hook (lambda () (run-hooks 'mu4e-msg-changed-hook)) t t)
(add-hook 'mu4e-index-updated-hook (lambda () (run-hooks 'mu4e-msg-changed-hook)) t)
(setq
truncate-lines t
buffer-undo-list t ;; don't record undo information