diff --git a/oni-flycheck.el b/oni-flycheck.el index 6a6656f..3c7784b 100644 --- a/oni-flycheck.el +++ b/oni-flycheck.el @@ -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)