Don't throw error when no flycheck
This commit is contained in:
parent
9e57d05af8
commit
f713492679
@ -118,5 +118,6 @@
|
||||
(setq js-switch-indent-offset 4)
|
||||
|
||||
;; Flycheck
|
||||
(add-hook 'after-init-hook #'global-flycheck-mode)
|
||||
(setq flycheck-perl-include-path '("$HOME/perl5/lib/perl5"))
|
||||
(when (require 'flycheck nil 'noerror)
|
||||
(add-hook 'after-init-hook #'global-flycheck-mode)
|
||||
(setq flycheck-perl-include-path '("$HOME/perl5/lib/perl5")))
|
||||
|
Loading…
x
Reference in New Issue
Block a user