Add spaces and face for mu4e indicator.

This commit is contained in:
Vincent Zhang 2019-01-30 16:02:34 +08:00
parent 8786231f8a
commit 81e356cd3b

View file

@ -1512,7 +1512,8 @@ mouse-1: Toggle Debug on Quit"
(setq global-mode-string (delete '(:eval mu4e-alert-mode-line) (setq global-mode-string (delete '(:eval mu4e-alert-mode-line)
global-mode-string)) global-mode-string))
(propertize (propertize
(number-to-string mu4e-alert-mode-line) (concat " " (number-to-string mu4e-alert-mode-line) " ")
'face '(:inherit (italic))
'help-echo (if (= mu4e-alert-mode-line 1) 'help-echo (if (= mu4e-alert-mode-line 1)
"You have an unread email" "You have an unread email"
(format "You have %s unread emails" mu4e-alert-mode-line))))) (format "You have %s unread emails" mu4e-alert-mode-line)))))