aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/strings.texi
diff options
context:
space:
mode:
authorPaul Eggert2016-06-26 00:16:25 +0200
committerPaul Eggert2016-06-26 00:16:25 +0200
commitfdcf46d33eebc59e56a35fcea186c61aad3c81d0 (patch)
tree8db131d7f52ead80ee12e52c3236510f71b31b48 /doc/lispref/strings.texi
parentd6930356cabd3036e445cc6a2f668b1fd3e0cde4 (diff)
parent0377fe2b819bb93ac7dc314c8dbd99304d8b98d0 (diff)
downloademacs-fdcf46d33eebc59e56a35fcea186c61aad3c81d0.tar.gz
emacs-fdcf46d33eebc59e56a35fcea186c61aad3c81d0.zip
Merge from origin/emacs-25
0377fe2 ; Spelling fixes f253695 Update docs for `customize-mode' 4395aaa Fix documentation of 'assoc-string' and 'compare-strings' ab0ebb9 ; Only load .elc file in tests. a98aa02 Error on multibyte characters in HTTP request ea512a7 * lisp/gnus/mm-decode.el (mm-convert-shr-links): Mask keys th... 8297331 ; Revert "Ensure undo-boundary after insert-file-contents." dc5e65b Unset GIT_DIR when calling Git commands 6cdd8f7 Ensure undo-boundary after insert-file-contents. 4793f5f Clarify documentation of 'line-spacing' and 'line-height' 5f37572 Fix removal of variables from process-environment e5e886d * admin/authors.el (authors-ignored-files, authors-valid-file... db0777b * admin/authors.el (authors-aliases, authors-fixed-case): Add... # Conflicts: # doc/lispref/modes.texi # lisp/gnus/mm-decode.el
Diffstat (limited to 'doc/lispref/strings.texi')
-rw-r--r--doc/lispref/strings.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index fc356af51ba..4e4c239291e 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -668,7 +668,7 @@ The strings are compared by the numeric values of their characters.
668For instance, @var{str1} is considered less than @var{str2} if 668For instance, @var{str1} is considered less than @var{str2} if
669its first differing character has a smaller numeric value. If 669its first differing character has a smaller numeric value. If
670@var{ignore-case} is non-@code{nil}, characters are converted to 670@var{ignore-case} is non-@code{nil}, characters are converted to
671lower-case before comparing them. Unibyte strings are converted to 671upper-case before comparing them. Unibyte strings are converted to
672multibyte for comparison (@pxref{Text Representations}), so that a 672multibyte for comparison (@pxref{Text Representations}), so that a
673unibyte string and its conversion to multibyte are always regarded as 673unibyte string and its conversion to multibyte are always regarded as
674equal. 674equal.
@@ -685,7 +685,8 @@ specified portion) is less.
685This function works like @code{assoc}, except that @var{key} must be a 685This function works like @code{assoc}, except that @var{key} must be a
686string or symbol, and comparison is done using @code{compare-strings}. 686string or symbol, and comparison is done using @code{compare-strings}.
687Symbols are converted to strings before testing. 687Symbols are converted to strings before testing.
688If @var{case-fold} is non-@code{nil}, it ignores case differences. 688If @var{case-fold} is non-@code{nil}, @var{key} and the elements of
689@var{alist} are converted to upper-case before comparison.
689Unlike @code{assoc}, this function can also match elements of the alist 690Unlike @code{assoc}, this function can also match elements of the alist
690that are strings or symbols rather than conses. In particular, @var{alist} can 691that are strings or symbols rather than conses. In particular, @var{alist} can
691be a list of strings or symbols rather than an actual alist. 692be a list of strings or symbols rather than an actual alist.