summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2020-12-11 19:26:43 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2020-12-11 19:26:43 -0500
commit7660d0359e637301651fe4433c2b9851840db120 (patch)
tree1825ca3af8373b20512b583698806ee232f284d5
parent78607f21b51cef7456d8075e67e3a1de5cf47483 (diff)
downloademacs-7660d0359e637301651fe4433c2b9851840db120.tar.gz
* lisp/emacs-lisp/thunk.el (thunk-let*): Don't modify `bindings`
-rw-r--r--lisp/emacs-lisp/thunk.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/thunk.el b/lisp/emacs-lisp/thunk.el
index c8e483e9a4a..cd42152527e 100644
--- a/lisp/emacs-lisp/thunk.el
+++ b/lisp/emacs-lisp/thunk.el
@@ -122,7 +122,7 @@ Using `thunk-let' and `thunk-let*' requires `lexical-binding'."
(declare (indent 1) (debug let))
(cl-reduce
(lambda (expr binding) `(thunk-let (,binding) ,expr))
- (nreverse bindings)
+ (reverse bindings)
:initial-value (macroexp-progn body)))
;; (defalias 'lazy-let #'thunk-let)