aboutsummaryrefslogtreecommitdiff
path: root/modules/mail-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail-config.el')
-rw-r--r--modules/mail-config.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/mail-config.el b/modules/mail-config.el
index dfc0c4e0c..1ec41f213 100644
--- a/modules/mail-config.el
+++ b/modules/mail-config.el
@@ -161,6 +161,12 @@ Prompts user for the action when executing."
(display-buffer-reuse-window display-buffer-same-window)
(inhibit-same-window . nil)))
+;; Keep global font-lock out of the mu4e buffers. mu4e paints header lines, the
+;; main menu, and view headers with manual `face' text properties; global
+;; font-lock strips them (the same failure the dashboard hit), leaving the
+;; buffers unthemed. Excluding these modes keeps mu4e's faces.
+(cj/exclude-from-global-font-lock 'mu4e-headers-mode 'mu4e-main-mode 'mu4e-view-mode)
+
(use-package mu4e
:ensure nil ;; mu4e gets installed by installing 'mu' via the system package manager
:load-path "/usr/share/emacs/site-lisp/mu4e/"