aboutsummaryrefslogtreecommitdiffstats
path: root/oni-flycheck.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-flycheck.el')
-rw-r--r--oni-flycheck.el4
1 files changed, 4 insertions, 0 deletions
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)