changeset 25437:95301c74bdd9

Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Sun, 29 Aug 1999 20:27:40 +0000
parents d24cf1a4dd34
children 4868ac7f6a3f
files lisp/subr.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Sun Aug 29 20:23:54 1999 +0000
+++ b/lisp/subr.el	Sun Aug 29 20:27:40 1999 +0000
@@ -51,12 +51,12 @@
   ;; depend on backquote.el.
   (list 'function (cons 'lambda cdr)))
 
-(defmacro push (value listname)
-  "Add VALUE to the list which is the value of LISTNAME.
-This is equivalent to (setq LISTNAME (cons VALUE LISTNAME)).
+(defmacro push (newelt listname)
+  "Add NEWELT to the list which is the value of LISTNAME.
+This is equivalent to (setq LISTNAME (cons NEWELT LISTNAME)).
 LISTNAME must be a symbol."
   (list 'setq list
-	(list 'cons value list)))
+	(list 'cons newelt list)))
 
 (defmacro pop (listname)
   "Return the first element of LISTNAME's value, and remove it from the list.