Fix error: void-variable mu4e-alert-mode-line.

This commit is contained in:
Vincent Zhang 2019-01-31 00:12:38 +08:00
parent 13d0c0bd21
commit 4f856886d6

View file

@ -1506,6 +1506,7 @@ mouse-1: Toggle Debug on Quit"
(doom-modeline-def-segment mu4e (doom-modeline-def-segment mu4e
(when (and doom-modeline-mu4e (when (and doom-modeline-mu4e
(doom-modeline--active) (doom-modeline--active)
(bound-and-true-p mu4e-alert-mode-line)
;; we'll do our own formatting so just need to test for zero ;; we'll do our own formatting so just need to test for zero
(> mu4e-alert-mode-line 0)) (> mu4e-alert-mode-line 0))
;; remove mu4e-alert's global modeline string setting ;; remove mu4e-alert's global modeline string setting