fix(emacs-lisp): lexical argument, error popup

this was caused by the use of fn! and an argument which interacted badly
with doom snippets of all things.
This commit is contained in:
Jeetaditya Chatterjee 2023-10-15 19:33:07 +01:00
parent b50b2c4640
commit a7b810a93f
No known key found for this signature in database
GPG key ID: 4A1E5568BA34D124

View file

@ -309,7 +309,7 @@ as `+emacs-lisp-non-package-mode' will enable it and disable the other checkers.
:command `(,(expand-file-name invocation-name invocation-directory)
"-Q"
"--batch"
,@(mapcan (fn! (list "-L" %)) elisp-flymake-byte-compile-load-path)
,@(mapcan (lambda (p) (list "-L" p)) elisp-flymake-byte-compile-load-path)
;; this is what silences the byte compiler
"--eval" ,(prin1-to-string `(setq doom-modules ',doom-modules
doom-disabled-packages ',doom-disabled-packages