lang/emacs-lisp: suppress errors during flycheck
This commit is contained in:
parent
6f41a592d4
commit
3073bcbe39
1 changed files with 5 additions and 5 deletions
|
@ -139,14 +139,14 @@ verbosity when editing a file in `doom-private-dir' or `doom-emacs-dir'."
|
|||
(concat "(progn "
|
||||
(prin1-to-string
|
||||
`(progn
|
||||
(load ,user-init-file t t)
|
||||
(defmacro map! (&rest _))
|
||||
(setq doom-modules ',doom-modules
|
||||
doom-disabled-packages ',doom-disabled-packages
|
||||
byte-compile-warnings
|
||||
doom-disabled-packages ',doom-disabled-packages)
|
||||
(ignore-errors (load ,user-init-file t t))
|
||||
(setq byte-compile-warnings
|
||||
'(obsolete cl-functions
|
||||
interactive-only make-local mapcar
|
||||
suspicious constants))))
|
||||
suspicious constants))
|
||||
(defmacro map! (&rest _))))
|
||||
" "
|
||||
(default-value 'flycheck-emacs-lisp-check-form)
|
||||
")"))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue