Skip to content

Commit

Permalink
Fix bad mode-line format when flycheck is not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Oct 24, 2014
1 parent 8b527c4 commit 0144604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spacemacs/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ of 2 characters. If INSERT? is not nil then the first key pressed is inserted
(face2 (if active 'powerline-active2 'powerline-inactive2))
(state-face (if active (spacemacs/current-state-face) face2))
(flycheckp (and spacemacs-mode-line-flycheckp
(symbolp flycheck-mode)
(boundp 'flycheck-mode)
(symbol-value flycheck-mode)
(or flycheck-current-errors
(eq 'running flycheck-last-status-change))))
Expand Down

0 comments on commit 0144604

Please sign in to comment.