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).
This commit is contained in:
parent
6a06782960
commit
9b6f564227
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue