[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/strings.texi,v
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/strings.texi,v |
Date: |
Wed, 21 Feb 2007 13:52:27 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Kim F. Storm <kfstorm> 07/02/21 13:52:27
Index: strings.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/lispref/strings.texi,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- strings.texi 16 Feb 2007 13:21:44 -0000 1.51
+++ strings.texi 21 Feb 2007 13:52:27 -0000 1.52
@@ -535,11 +535,12 @@
@defun assoc-string key alist &optional case-fold
This function works like @code{assoc}, except that @var{key} must be a
-string, and comparison is done using @code{compare-strings}. If
address@hidden is address@hidden, it ignores case differences.
+string or symbol, and comparison is done using @code{compare-strings}.
+Symbols are converted to strings before testing.
+If @var{case-fold} is address@hidden, it ignores case differences.
Unlike @code{assoc}, this function can also match elements of the alist
-that are strings rather than conses. In particular, @var{alist} can
-be a list of strings rather than an actual alist.
+that are strings or symbols rather than conses. In particular, @var{alist} can
+be a list of strings or symbols rather than an actual alist.
@xref{Association Lists}.
@end defun