Mercurial > emacs
changeset 14051:7f7e97f219ce
(Fplist_get): Rename arg `val' to `plist' as in doc.
author | Erik Naggum <erik@naggum.no> |
---|---|
date | Sun, 07 Jan 1996 14:34:54 +0000 |
parents | 28df14e7a281 |
children | 29ead09726c6 |
files | src/fns.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Sun Jan 07 07:00:56 1996 +0000 +++ b/src/fns.c Sun Jan 07 14:34:54 1996 +0000 @@ -920,17 +920,17 @@ 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);