diff options
author | 2019-02-04 01:33:55 -0800 | |
---|---|---|
committer | 2019-02-04 01:33:55 -0800 | |
commit | cb7134284d2acf529b620466204881f19e5439ee (patch) | |
tree | 9c1f01780bc76c9b72fe47c926c859658c2c1e35 /oni-flycheck.el | |
parent | d65fcaba2af7ad7e2d514970ae827183639d6c23 (diff) | |
download | emacs-config-cb7134284d2acf529b620466204881f19e5439ee.tar.gz emacs-config-cb7134284d2acf529b620466204881f19e5439ee.zip |
Initialize package when running flycheck for Emacs
Diffstat (limited to 'oni-flycheck.el')
-rw-r--r-- | oni-flycheck.el | 4 |
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) |