mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 19:37:58 +00:00
gnus-util.el (gnus-macroexpand-all): Fix last change.
This commit is contained in:
parent
d6f6af81e8
commit
78b1832ebf
1 changed files with 2 additions and 3 deletions
|
|
@ -2042,10 +2042,9 @@ If no macros are expanded, FORM is returned unchanged."
|
|||
(if (consp form)
|
||||
(let ((idx 1)
|
||||
(len (length form))
|
||||
elem expanded)
|
||||
expanded)
|
||||
(while (< idx len)
|
||||
(when (consp (setq elem (nth idx form)))
|
||||
(setcar (nthcdr idx form) (gnus-macroexpand-all elem)))
|
||||
(setcar (nthcdr idx form) (gnus-macroexpand-all (nth idx form)))
|
||||
(setq idx (1+ idx)))
|
||||
(if (eq (setq expanded (macroexpand form)) form)
|
||||
form
|
||||
|
|
|
|||
Loading…
Reference in a new issue