From 01446042c45f896e53e44907ab9cd29992c7987c Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Fri, 24 Oct 2014 15:59:22 -0400 Subject: [PATCH] Fix bad mode-line format when flycheck is not enabled --- spacemacs/packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index 51b90168c365..da3f589d7ada 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -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))))