emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7660d03: * lisp/emacs-lisp/thunk.el (thunk-let*): Don't modify `b


From: Stefan Monnier
Subject: master 7660d03: * lisp/emacs-lisp/thunk.el (thunk-let*): Don't modify `bindings`
Date: Fri, 11 Dec 2020 19:26:52 -0500 (EST)

branch: master
commit 7660d0359e637301651fe4433c2b9851840db120
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/emacs-lisp/thunk.el (thunk-let*): Don't modify `bindings`
---
 lisp/emacs-lisp/thunk.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/thunk.el b/lisp/emacs-lisp/thunk.el
index c8e483e..cd42152 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]