mode-line: fix global-mode-string

This commit is contained in:
3marcusw 2015-04-25 18:36:30 -04:00 committed by syl20bnr
parent 561676d675
commit 4898eadb3c

View file

@ -2425,9 +2425,8 @@ It is a string holding:
(powerline-raw " " line-face))
(list
;; global-mode
(unless (equal '("") global-mode-string)
(powerline-raw global-mode-string)
(powerline-raw " " line-face))
(powerline-raw " " line-face)
;; new version
(if (and active
spacemacs-new-version
@ -2443,7 +2442,8 @@ It is a string holding:
;; display hud
(powerline-chamfer-left line-face face1)
(if (string-match "\%" progress)
(powerline-hud state-face face1))))))))
(powerline-hud state-face face1)))))
)))
(defun spacemacs/mode-line-prepare ()
(let* ((active (powerline-selected-window-active))