fix(emacs-lisp): suppress popup warnings from flycheck

Typically caused by partial syntax errors in Doom Emacs (e.g. while
you're writing code in $EMACSDIR or $DOOMDIR, and haven't typed the
closing parenthesis yet).
This commit is contained in:
Henrik Lissner 2022-08-05 00:43:29 +02:00
parent 2254b8c561
commit 06db69bf76
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -258,7 +258,7 @@ verbosity when editing a file in `doom-private-dir' or `doom-emacs-dir'."
(set (make-local-variable 'flycheck-emacs-lisp-check-form)
(concat "(progn "
(prin1-to-string
`(progn
`(ignore-errors
(setq doom-modules ',doom-modules
doom-disabled-packages ',doom-disabled-packages)
(require 'doom)