aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2008-04-05 21:03:47 +0000
committerChong Yidong2008-04-05 21:03:47 +0000
commitc6a82c186659bc6e89fdacd1a1297967731505b5 (patch)
treeedd485bddbb3721f363897d44f1bf6c03147f874
parentc36e15db9781ae4bfba889819caef65c33937955 (diff)
downloademacs-c6a82c186659bc6e89fdacd1a1297967731505b5.tar.gz
emacs-c6a82c186659bc6e89fdacd1a1297967731505b5.zip
(Fassoc_string): Tweak docstring.
-rw-r--r--src/minibuf.c14
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
2103DEFUN ("assoc-string", Fassoc_string, Sassoc_string, 2, 3, 0, 2103DEFUN ("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).
2105Symbols are converted to strings, and unibyte strings are converted to 2105
2106multibyte for comparison. 2106This returns the first element of LIST whose car matches the string or
2107Case is ignored if optional arg CASE-FOLD is non-nil. 2107symbol KEY, or nil if no match exists. When performing the
2108As opposed to `assoc', it will also match an entry consisting of a single 2108comparison, symbols are first converted to strings, and unibyte
2109string rather than a cons cell whose car is a string. */) 2109strings to multibyte. If the optional arg CASE-FOLD is non-nil, case
2110is ignored.
2111
2112Unlike `assoc', KEY can also match an entry in LIST consisting of a
2113single 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;