Skip to content

Commit

Permalink
Configure flycheck to inherit emacs load path
Browse files Browse the repository at this point in the history
  • Loading branch information
dajva committed Jan 21, 2018
1 parent 06fae59 commit 8c18672
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/style-check.el
Expand Up @@ -58,7 +58,8 @@

(defun run-emacs-lisp-flycheck-and-exit ()
(cl-letf (((symbol-function #'rg-message) (symbol-function #'message))
((symbol-function #'message) #'ignore))
((symbol-function #'message) #'ignore)
(flycheck-emacs-lisp-load-path 'inherit))
(dolist (file argv)
(dolist (checker '(emacs-lisp-checkdoc emacs-lisp))
(with-temp-buffer
Expand Down

0 comments on commit 8c18672

Please sign in to comment.