1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Don't say that macro-expansion error is a warning

* lisp/emacs-lisp/gv.el:
* lisp/emacs-lisp/macroexp.el (internal-macroexpand-for-load): Since
eager macro-expansion errors are no longer warnings, don't say so.
This commit is contained in:
Mattias Engdegård 2022-06-30 14:55:45 +02:00
parent f819882edc
commit a68508c10b
2 changed files with 2 additions and 2 deletions

View file

@ -796,7 +796,7 @@ test of free variables in the following ways:
(if (eq (car-safe (car bt)) 'macroexpand-all) (setq bt (cdr bt)))
(if macroexp--debug-eager
(debug 'eager-macroexp-cycle)
(error "Warning: Eager macro-expansion skipped due to cycle:\n %s"
(error "Eager macro-expansion skipped due to cycle:\n %s"
(mapconcat #'prin1-to-string (nreverse bt) " => ")))
(push 'skip macroexp--pending-eager-loads)
form))