diff options
| author | Chong Yidong | 2008-04-05 21:03:47 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-04-05 21:03:47 +0000 |
| commit | c6a82c186659bc6e89fdacd1a1297967731505b5 (patch) | |
| tree | edd485bddbb3721f363897d44f1bf6c03147f874 | |
| parent | c36e15db9781ae4bfba889819caef65c33937955 (diff) | |
| download | emacs-c6a82c186659bc6e89fdacd1a1297967731505b5.tar.gz emacs-c6a82c186659bc6e89fdacd1a1297967731505b5.zip | |
(Fassoc_string): Tweak docstring.
| -rw-r--r-- | src/minibuf.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index 724de3fc713..13e54fb1756 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -2102,11 +2102,15 @@ do_completion () | |||
| 2102 | 2102 | ||
| 2103 | DEFUN ("assoc-string", Fassoc_string, Sassoc_string, 2, 3, 0, | 2103 | DEFUN ("assoc-string", Fassoc_string, Sassoc_string, 2, 3, 0, |
| 2104 | doc: /* Like `assoc' but specifically for strings (and symbols). | 2104 | doc: /* Like `assoc' but specifically for strings (and symbols). |
| 2105 | Symbols are converted to strings, and unibyte strings are converted to | 2105 | |
| 2106 | multibyte for comparison. | 2106 | This returns the first element of LIST whose car matches the string or |
| 2107 | Case is ignored if optional arg CASE-FOLD is non-nil. | 2107 | symbol KEY, or nil if no match exists. When performing the |
| 2108 | As opposed to `assoc', it will also match an entry consisting of a single | 2108 | comparison, symbols are first converted to strings, and unibyte |
| 2109 | string rather than a cons cell whose car is a string. */) | 2109 | strings to multibyte. If the optional arg CASE-FOLD is non-nil, case |
| 2110 | is ignored. | ||
| 2111 | |||
| 2112 | Unlike `assoc', KEY can also match an entry in LIST consisting of a | ||
| 2113 | single string, rather than a cons cell whose car is a string. */) | ||
| 2110 | (key, list, case_fold) | 2114 | (key, list, case_fold) |
| 2111 | register Lisp_Object key; | 2115 | register Lisp_Object key; |
| 2112 | Lisp_Object list, case_fold; | 2116 | Lisp_Object list, case_fold; |