mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Fix face of eldoc-in-minibuffer.
This commit is contained in:
parent
0509ac47f4
commit
f98597f06c
1 changed files with 6 additions and 5 deletions
|
@ -241,10 +241,9 @@ If STRICT-P, return nil if no project was found, otherwise return
|
||||||
|
|
||||||
(defun doom-modeline-eldoc (text)
|
(defun doom-modeline-eldoc (text)
|
||||||
(concat (when (display-graphic-p)
|
(concat (when (display-graphic-p)
|
||||||
(doom-modeline--make-xpm
|
(doom-modeline--make-xpm 'doom-modeline-eldoc-bar
|
||||||
(face-background 'doom-modeline-eldoc-bar nil t)
|
doom-modeline-height
|
||||||
doom-modeline-height
|
doom-modeline-bar-width))
|
||||||
doom-modeline-bar-width))
|
|
||||||
text))
|
text))
|
||||||
|
|
||||||
;; Show eldoc in the mode-line with `eval-expression'
|
;; Show eldoc in the mode-line with `eval-expression'
|
||||||
|
@ -444,7 +443,9 @@ active."
|
||||||
(propertize
|
(propertize
|
||||||
" " 'display
|
" " 'display
|
||||||
(let ((data (make-list height (make-list width 1)))
|
(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
|
(ignore-errors
|
||||||
(create-image
|
(create-image
|
||||||
(concat
|
(concat
|
||||||
|
|
Loading…
Reference in a new issue