diff options
| author | Erik Naggum | 1996-01-07 14:34:54 +0000 |
|---|---|---|
| committer | Erik Naggum | 1996-01-07 14:34:54 +0000 |
| commit | 1fbb64aa7f044b91c8a28e2857c8025851128e0f (patch) | |
| tree | 89495ab8b9176cac910da7c59149b666481a2355 | |
| parent | e118218fae1502a78fdeeaf017c478a4ecddfc34 (diff) | |
| download | emacs-1fbb64aa7f044b91c8a28e2857c8025851128e0f.tar.gz emacs-1fbb64aa7f044b91c8a28e2857c8025851128e0f.zip | |
(Fplist_get): Rename arg `val' to `plist' as in doc.
| -rw-r--r-- | src/fns.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -920,17 +920,17 @@ merge (org_l1, org_l2, pred) | |||
| 920 | 920 | ||
| 921 | 921 | ||
| 922 | DEFUN ("plist-get", Fplist_get, Splist_get, 2, 2, 0, | 922 | DEFUN ("plist-get", Fplist_get, Splist_get, 2, 2, 0, |
| 923 | "Extract a value from a property list.\n\ | 923 | "Extract a value from a property list.\n\ |
| 924 | PLIST is a property list, which is a list of the form\n\ | 924 | PLIST is a property list, which is a list of the form\n\ |
| 925 | \(PROP1 VALUE1 PROP2 VALUE2...). This function returns the value\n\ | 925 | \(PROP1 VALUE1 PROP2 VALUE2...). This function returns the value\n\ |
| 926 | corresponding to the given PROP, or nil if PROP is not\n\ | 926 | corresponding to the given PROP, or nil if PROP is not\n\ |
| 927 | one of the properties on the list.") | 927 | one of the properties on the list.") |
| 928 | (val, prop) | 928 | (plist, prop) |
| 929 | Lisp_Object val; | 929 | Lisp_Object plist; |
| 930 | register Lisp_Object prop; | 930 | register Lisp_Object prop; |
| 931 | { | 931 | { |
| 932 | register Lisp_Object tail; | 932 | register Lisp_Object tail; |
| 933 | for (tail = val; !NILP (tail); tail = Fcdr (Fcdr (tail))) | 933 | for (tail = plist; !NILP (tail); tail = Fcdr (Fcdr (tail))) |
| 934 | { | 934 | { |
| 935 | register Lisp_Object tem; | 935 | register Lisp_Object tem; |
| 936 | tem = Fcar (tail); | 936 | tem = Fcar (tail); |