From 8c18672be30b2ede30f2620a039fc3dd63d8b20a Mon Sep 17 00:00:00 2001 From: David Landell Date: Fri, 8 Dec 2017 13:16:09 +0100 Subject: [PATCH] Configure flycheck to inherit emacs load path --- test/style-check.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/style-check.el b/test/style-check.el index 4d1311a..949618f 100644 --- a/test/style-check.el +++ b/test/style-check.el @@ -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