(Fplist_get): Rename arg `val' to `plist' as in doc.
authorErik Naggum <erik@naggum.no>
Sun, 7 Jan 1996 14:34:54 +0000 (14:34 +0000)
committerErik Naggum <erik@naggum.no>
Sun, 7 Jan 1996 14:34:54 +0000 (14:34 +0000)
src/fns.c

index b133967..2b85796 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -920,17 +920,17 @@ merge (org_l1, org_l2, pred)
 \f
 
 DEFUN ("plist-get", Fplist_get, Splist_get, 2, 2, 0,
-       "Extract a value from a property list.\n\
+  "Extract a value from a property list.\n\
 PLIST is a property list, which is a list of the form\n\
 \(PROP1 VALUE1 PROP2 VALUE2...).  This function returns the value\n\
 corresponding to the given PROP, or nil if PROP is not\n\
 one of the properties on the list.")
-  (val, prop)
-     Lisp_Object val;
+  (plist, prop)
+     Lisp_Object plist;
      register Lisp_Object prop;
 {
   register Lisp_Object tail;
-  for (tail = val; !NILP (tail); tail = Fcdr (Fcdr (tail)))
+  for (tail = plist; !NILP (tail); tail = Fcdr (Fcdr (tail)))
     {
       register Lisp_Object tem;
       tem = Fcar (tail);