Fix major mode name not appearing for some modes

This commit is contained in:
Jessie Hildebrandt 2020-07-22 19:26:35 -04:00
parent 929f257935
commit 9d733093e5

View File

@ -275,7 +275,7 @@
(defun mood-line-segment-major-mode () (defun mood-line-segment-major-mode ()
"Displays the current major mode in the mode-line." "Displays the current major mode in the mode-line."
(propertize "%m " 'face 'mood-line-major-mode)) (concat (format-mode-line mode-name 'mood-line-major-mode) " "))
(defun mood-line-segment-misc-info () (defun mood-line-segment-misc-info ()
"Displays the current value of `mode-line-misc-info' in the mode-line." "Displays the current value of `mode-line-misc-info' in the mode-line."