From f98597f06c18ccadccbfb77874363e5ebad64690 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 14 Jun 2018 02:51:07 +0800 Subject: [PATCH] Fix face of eldoc-in-minibuffer. --- doom-modeline.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index 0de2e21..3cb55ce 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -241,10 +241,9 @@ If STRICT-P, return nil if no project was found, otherwise return (defun doom-modeline-eldoc (text) (concat (when (display-graphic-p) - (doom-modeline--make-xpm - (face-background 'doom-modeline-eldoc-bar nil t) - doom-modeline-height - doom-modeline-bar-width)) + (doom-modeline--make-xpm 'doom-modeline-eldoc-bar + doom-modeline-height + doom-modeline-bar-width)) text)) ;; Show eldoc in the mode-line with `eval-expression' @@ -444,7 +443,9 @@ active." (propertize " " 'display (let ((data (make-list height (make-list width 1))) - (color (or (when face (face-background face nil t)) "None"))) + (color (or (when face + (face-background face nil t)) + "None"))) (ignore-errors (create-image (concat