mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -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:
parent
f819882edc
commit
a68508c10b
2 changed files with 2 additions and 2 deletions
|
|
@ -602,7 +602,7 @@ This is like the `*' operator of the C language.
|
|||
REF must have been previously obtained with `gv-ref'."
|
||||
(funcall (car ref)))
|
||||
;; Don't use `declare' because it seems to introduce circularity problems:
|
||||
;; Warning: Eager macro-expansion skipped due to cycle:
|
||||
;; Eager macro-expansion skipped due to cycle:
|
||||
;; … => (load "gv.el") => (macroexpand-all (defsubst gv-deref …)) => (macroexpand (defun …)) => (load "gv.el")
|
||||
(gv-define-setter gv-deref (v ref) `(funcall (cdr ,ref) ,v))
|
||||
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue