Fix: display invalid information in mu4e segment.

This commit is contained in:
Vincent Zhang 2019-02-28 20:51:10 +07:00
parent 4377c9ea5c
commit 2ae39ff5ca

View file

@ -155,7 +155,8 @@ If DEFAULT is non-nil, set the default mode-line for all buffers."
(defvar doom-modeline--default-mode-line mode-line-format) (defvar doom-modeline--default-mode-line mode-line-format)
(defvar mu4e-alert-modeline-formatter nil) (unless (featurep 'mu4e-alert)
(defvar mu4e-alert-modeline-formatter #'ignore))
(defvar doom-modeline--mu4e-alert-modeline-formatter mu4e-alert-modeline-formatter) (defvar doom-modeline--mu4e-alert-modeline-formatter mu4e-alert-modeline-formatter)
;;;###autoload ;;;###autoload