1
0
Fork 0

Initialize package when running flycheck for Emacs

This commit is contained in:
Tom Willemse 2019-02-04 01:33:55 -08:00
parent d65fcaba2a
commit cb7134284d

View file

@ -50,6 +50,10 @@
(when (not (eql system-type 'windows-nt))
(setq flycheck-mode-line-prefix ""))
(setq flycheck-emacs-args
(append '("--eval" "(package-initialize)")
flycheck-emacs-args))
(add-hook 'flycheck-mode-hook 'flycheck-cask-setup)
(add-hook 'flycheck-mode-hook 'flycheck-inline-mode)