mode-line: don't display global-mode-string on inactive buffer

This commit is contained in:
syl20bnr 2015-05-13 23:17:56 -04:00
parent 4898eadb3c
commit f8ae105150

View file

@ -2425,8 +2425,9 @@ It is a string holding:
(powerline-raw " " line-face))
(list
;; global-mode
(when active
(powerline-raw global-mode-string)
(powerline-raw " " line-face)
(powerline-raw " " line-face))
;; new version
(if (and active
spacemacs-new-version