Fix errors in process segment.

This commit is contained in:
Vincent Zhang 2019-02-12 03:57:22 +08:00
parent 7ea698723f
commit 83bf2c509d

View file

@ -413,7 +413,9 @@ mouse-3: Toggle minor modes"
"The process info." "The process info."
(if (doom-modeline--active) (if (doom-modeline--active)
mode-line-process mode-line-process
(propertize mode-line-process 'face 'mode-line-inactive))) (propertize
(format-mode-line '("" mode-line-process))
'face 'mode-line-inactive)))
;; ;;
@ -437,7 +439,7 @@ mouse-1: Display minor modes menu"
'mouse-1 #'minions-minor-modes-menu)) 'mouse-1 #'minions-minor-modes-menu))
" ") " ")
(propertize (propertize
(concat (format-mode-line `(:propertize ("" minor-mode-alist))) " ") (concat (format-mode-line '("" minor-mode-alist)) " ")
'face (if active 'face (if active
'doom-modeline-buffer-minor-mode 'doom-modeline-buffer-minor-mode
'mode-line-inactive)))))) 'mode-line-inactive))))))