From 4f856886d67781e7cc148c138d4631cdf7a25758 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 31 Jan 2019 00:12:38 +0800 Subject: [PATCH] Fix error: void-variable mu4e-alert-mode-line. --- doom-modeline-segments.el | 1 + 1 file changed, 1 insertion(+) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index de32288..a67d615 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -1506,6 +1506,7 @@ mouse-1: Toggle Debug on Quit" (doom-modeline-def-segment mu4e (when (and doom-modeline-mu4e (doom-modeline--active) + (bound-and-true-p mu4e-alert-mode-line) ;; we'll do our own formatting so just need to test for zero (> mu4e-alert-mode-line 0)) ;; remove mu4e-alert's global modeline string setting