Revert "Improve major-mode segment: add menus for major/minor modes."

This reverts commit c5739f3f14.
This commit is contained in:
Vincent Zhang 2018-09-29 19:21:19 +08:00
parent c5739f3f14
commit 7f86ec193d

View file

@ -635,7 +635,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
(doom-modeline-def-segment major-mode (doom-modeline-def-segment major-mode
"The major mode, including environment and text-scale info." "The major mode, including environment and text-scale info."
(propertize (propertize
(concat (substring (format-mode-line mode-line-modes) 2 -3) (concat (format-mode-line mode-name)
(when doom-modeline-env-version (when doom-modeline-env-version
(format " %s" doom-modeline-env-version)) (format " %s" doom-modeline-env-version))
(and (boundp 'text-scale-mode-amount) (and (boundp 'text-scale-mode-amount)