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:
parent
2254b8c561
commit
06db69bf76
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
(set (make-local-variable 'flycheck-emacs-lisp-check-form)
|
||||||
(concat "(progn "
|
(concat "(progn "
|
||||||
(prin1-to-string
|
(prin1-to-string
|
||||||
`(progn
|
`(ignore-errors
|
||||||
(setq doom-modules ',doom-modules
|
(setq doom-modules ',doom-modules
|
||||||
doom-disabled-packages ',doom-disabled-packages)
|
doom-disabled-packages ',doom-disabled-packages)
|
||||||
(require 'doom)
|
(require 'doom)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue