From 549219e58324373027c1466872da4a7dbe94977a Mon Sep 17 00:00:00 2001 From: Eivind Fonn Date: Wed, 9 Dec 2015 12:18:20 +0100 Subject: [PATCH] Fix C/C++ flycheck hooks --- layers/+lang/c-c++/packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/+lang/c-c++/packages.el b/layers/+lang/c-c++/packages.el index e06396f22..c5ecec9f7 100644 --- a/layers/+lang/c-c++/packages.el +++ b/layers/+lang/c-c++/packages.el @@ -126,7 +126,7 @@ :init (push 'company-c-headers company-backends-c-mode-common)))) (defun c-c++/post-init-flycheck () - (dolist (mode '(c-mode-hook c++-mode-hook)) + (dolist (mode '(c-mode c++-mode)) (spacemacs/add-flycheck-hook mode))) (defun c-c++/init-gdb-mi ()