mu4e: Initialize mu4e-conversation with minor mode

master
Pierre Neidhardt 2018-06-23 23:25:30 +02:00
parent bf0213f305
commit bf04fe2b4b
1 changed files with 2 additions and 7 deletions

View File

@ -274,7 +274,7 @@
;; mu4e-conversation must be enabled here.
;; REVIEW: https://github.com/djcb/mu/issues/1258
(when (require 'mu4e-conversation nil t)
(mu4e-conversation-init)
(global-mu4e-conversation-mode)
(setq mu4e-headers-show-threads nil
mu4e-headers-include-related nil)
;; For testing purposes:
@ -282,12 +282,7 @@
;; (set-face-background mu4e-conversation-sender-2 "#553333")
;; (set-face-background mu4e-conversation-sender-3 "#333355")
;; (set-face-background mu4e-conversation-sender-4 "#888855")
(defun mu4e-conversation-toggle ()
"Toggle-replace `mu4e-view' with `mu4e-conversation' everywhere."
(interactive)
(if (eq mu4e-view-func 'mu4e-conversation)
(setq mu4e-view-func 'mu4e~headers-view-handler)
(setq mu4e-view-func 'mu4e-conversation))))
)
(require 'init-mu4e))
(autoload 'ambrevar/mu4e-headers "mu4e")