Fix face of eldoc-in-minibuffer.

This commit is contained in:
Vincent Zhang 2018-06-14 02:51:07 +08:00
parent 0509ac47f4
commit f98597f06c

View file

@ -241,8 +241,7 @@ 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--make-xpm 'doom-modeline-eldoc-bar
doom-modeline-height
doom-modeline-bar-width))
text))
@ -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