]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/thunk.el (thunk-let*): Don't modify `bindings`
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Dec 2020 00:26:43 +0000 (19:26 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Dec 2020 00:26:43 +0000 (19:26 -0500)
lisp/emacs-lisp/thunk.el

index c8e483e9a4a6d4cfd095c482d08a4aa731a4044b..cd42152527eeaf60f13738907052112d6784d0de 100644 (file)
@@ -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)