mirror of
https://github.com/ryuslash/mode-icons.git
synced 2024-11-24 02:20:29 +01:00
Fall back to mode-name if not generated yet.
This commit is contained in:
parent
a180dfb035
commit
72255f753d
1 changed files with 1 additions and 1 deletions
|
@ -991,7 +991,7 @@ When DONT-UPDATE is non-nil, don't call `force-mode-line-update'"
|
|||
"Give rich strings needed for `major-mode' viewing."
|
||||
(let ((active (mode-icons--selected-window-active)))
|
||||
(eval `(propertize ,(or (and active mode-icons-mode-name-active)
|
||||
mode-icons-mode-name-inactive)
|
||||
mode-icons-mode-name-inactive mode-name)
|
||||
,@mode-icons-major-mode-base-text-properties))))
|
||||
|
||||
;;; selected take from powerline
|
||||
|
|
Loading…
Reference in a new issue