powerline: display battery segment only when mode-line is active

This commit is contained in:
syl20bnr 2015-07-26 23:02:59 -04:00
parent c52535fe99
commit bf2d840a7a
1 changed files with 1 additions and 1 deletions

View File

@ -2694,7 +2694,7 @@ must be a valid segment specification, see documentation for
`spacemacs//eval-mode-line-segment'.")
(defvar spacemacs-mode-line-right
'(battery
'((battery :when active)
selection-info
((buffer-encoding-abbrev
point-position