emacs-diffs
[Top][All Lists]
Advanced

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

master 9b6f564: Make macroexpand of `push' slightly less confusing


From: Lars Ingebrigtsen
Subject: master 9b6f564: Make macroexpand of `push' slightly less confusing
Date: Sat, 26 Sep 2020 11:05:29 -0400 (EDT)

branch: master
commit 9b6f5642274b5b9ca0ad1b2e0e673d92b01fab6e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Make macroexpand of `push' slightly less confusing
    
    * lisp/subr.el (push): Use a symbol with a different name to make
    macroexpand look slightly less confusing (bug#43601).
---
 lisp/subr.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index fba31b7..dd79702 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -193,9 +193,9 @@ except that PLACE is evaluated only once (after NEWELT)."
       (list 'setq place
             (list 'cons newelt place))
     (require 'macroexp)
-    (macroexp-let2 macroexp-copyable-p v newelt
+    (macroexp-let2 macroexp-copyable-p x newelt
       (gv-letplace (getter setter) place
-        (funcall setter `(cons ,v ,getter))))))
+        (funcall setter `(cons ,x ,getter))))))
 
 (defmacro pop (place)
   "Return the first element of PLACE's value, and remove it from the list.



reply via email to

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