mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 09:21:38 -05:00
Fix invalid face attribute :inherit nil on 26.
This commit is contained in:
parent
5a6785cba0
commit
670b06502f
1 changed files with 1 additions and 1 deletions
|
@ -871,7 +871,7 @@ So convert the face \":family XXX :height XXX :inherit XXX\" to
|
|||
See https://github.com/seagle0128/doom-modeline/issues/301."
|
||||
(when-let* ((props (and icon (get-text-property 0 'face icon)))
|
||||
(family (plist-get props :family))
|
||||
(height (plist-get props :height) 1.0)
|
||||
(height (plist-get props :height))
|
||||
(face (or face (plist-get props :inherit) props))
|
||||
(new-face `(:inherit ,face
|
||||
:family ,family
|
||||
|
|
Loading…
Add table
Reference in a new issue