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)
|
(setq js-switch-indent-offset 4)
|
||||||
|
|
||||||
;; Flycheck
|
;; Flycheck
|
||||||
(add-hook 'after-init-hook #'global-flycheck-mode)
|
(when (require 'flycheck nil 'noerror)
|
||||||
(setq flycheck-perl-include-path '("$HOME/perl5/lib/perl5"))
|
(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