; * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): less consing

This commit is contained in:
Mattias Engdegård 2024-04-13 17:43:34 +02:00
parent 7add47337b
commit 616af56579

View file

@ -351,7 +351,7 @@ Assumes the caller has bound `macroexpand-all-environment'."
(let ((default-tail nil)
(n 0)
(rest clauses))
(while rest
(while (cdr rest)
(let ((c (car-safe (car rest))))
(when (cond ((consp c) (and (memq (car c) '(quote function))
(cadr c)))