From 7f86ec193d61e80cc398ae2d3773e72798421d68 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sat, 29 Sep 2018 19:21:19 +0800 Subject: [PATCH] Revert "Improve major-mode segment: add menus for major/minor modes." This reverts commit c5739f3f14372c5ccfd498884c73a27627512f67. --- doom-modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index 14d7ea7..7599687 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -635,7 +635,7 @@ directory, the file name, and its state (modified, read-only or non-existent)." (doom-modeline-def-segment major-mode "The major mode, including environment and text-scale info." (propertize - (concat (substring (format-mode-line mode-line-modes) 2 -3) + (concat (format-mode-line mode-name) (when doom-modeline-env-version (format " %s" doom-modeline-env-version)) (and (boundp 'text-scale-mode-amount)