aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/cl-macs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 37d02b564cb..e6656a168b1 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2440,9 +2440,9 @@ compiler macros are expanded repeatedly until no further expansions are
2440possible. Unlike regular macros, BODY can decide to \"punt\" and leave the 2440possible. Unlike regular macros, BODY can decide to \"punt\" and leave the
2441original function call alone by declaring an initial `&whole foo' parameter 2441original function call alone by declaring an initial `&whole foo' parameter
2442and then returning foo." 2442and then returning foo."
2443 (let ((p (if (listp args) args (list '&rest args))) (res nil)) 2443 (let ((p args) (res nil))
2444 (while (consp p) (cl-push (cl-pop p) res)) 2444 (while (consp p) (cl-push (cl-pop p) res))
2445 (setq args (nreverse res)) (setcdr res (and p (list '&rest p)))) 2445 (setq args (nconc (nreverse res) (and p (list '&rest p)))))
2446 (list 'eval-when '(compile load eval) 2446 (list 'eval-when '(compile load eval)
2447 (cl-transform-function-property 2447 (cl-transform-function-property
2448 func 'cl-compiler-macro 2448 func 'cl-compiler-macro