Initialize package when running flycheck for Emacs
This commit is contained in:
parent
d65fcaba2a
commit
cb7134284d
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue