mode-line: fix major-mode when mode-name is not a string
This commit is contained in:
parent
94bfda6b78
commit
d586cb10b8
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ iedit."
|
|||
(powerline-raw
|
||||
(concat
|
||||
(and (featurep 'face-remap) (/= text-scale-mode-amount 0) (format "(%+d) " text-scale-mode-amount))
|
||||
mode-name
|
||||
(if (stringp mode-name) mode-name (car mode-name))
|
||||
(if (stringp mode-line-process) mode-line-process)))
|
||||
:tight-right t)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue