Skip to content

Commit

Permalink
spaceline: don’t use :when in new-version segment
Browse files Browse the repository at this point in the history
This will be necessary with the new version of Spaceline, but it works
fine with the old version too.
  • Loading branch information
TheBB committed May 10, 2016
1 parent 3274e7d commit 6127047
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layers/+distribution/spacemacs/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -1798,10 +1798,10 @@ Open junk file using helm, with `prefix-arg' search in junk files"
map)))

(spaceline-define-segment new-version
(spacemacs-powerline-new-version
(spacemacs/get-new-version-lighter-face
spacemacs-version spacemacs-new-version))
:when spacemacs-new-version)
(when spacemacs-new-version
(spacemacs-powerline-new-version
(spacemacs/get-new-version-lighter-face
spacemacs-version spacemacs-new-version))))

(spaceline-spacemacs-theme '(new-version :when active))
(spaceline-helm-mode t)
Expand Down

0 comments on commit 6127047

Please sign in to comment.