From 83bf2c509dda4475b05bd39ca1412eec93354890 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Tue, 12 Feb 2019 03:57:22 +0800 Subject: [PATCH] Fix errors in process segment. --- doom-modeline-segments.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 405bc61..c1cc678 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -413,7 +413,9 @@ mouse-3: Toggle minor modes" "The process info." (if (doom-modeline--active) 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)) " ") (propertize - (concat (format-mode-line `(:propertize ("" minor-mode-alist))) " ") + (concat (format-mode-line '("" minor-mode-alist)) " ") 'face (if active 'doom-modeline-buffer-minor-mode 'mode-line-inactive))))))