mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
mode-line: fix major-mode when mode-name is not a string
This commit is contained in:
@ -376,7 +376,7 @@ iedit."
|
|||||||
(powerline-raw
|
(powerline-raw
|
||||||
(concat
|
(concat
|
||||||
(and (featurep 'face-remap) (/= text-scale-mode-amount 0) (format "(%+d) " text-scale-mode-amount))
|
(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)))
|
(if (stringp mode-line-process) mode-line-process)))
|
||||||
:tight-right t)
|
:tight-right t)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user