summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-11-23 16:54:01 +0200
committerEli Zaretskii <eliz@gnu.org>2022-11-23 16:54:01 +0200
commit43e616aca56daa438e47051e15f8d2a7454a5cb1 (patch)
tree1152499975d53ac1f2d1c5d7eac2768879c8f97f /src/fns.c
parent5568ac2db0fe2707676d9e4d1cfe027fba83767d (diff)
downloademacs-43e616aca56daa438e47051e15f8d2a7454a5cb1.tar.gz
Improve documentation of locale-specific string comparison
* doc/lispref/strings.texi (Text Comparison): * src/fns.c (Fstring_collate_equalp): Improve documentation of 'string-collate-equalp' and 'string-collate-lessp'. (Bug#59275)
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index e337c0958d5..7cc6d00afef 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -644,7 +644,8 @@ bind `w32-collate-ignore-punctuation' to a non-nil value, since
the codeset part of the locale cannot be \"UTF-8\" on MS-Windows.
If your system does not support a locale environment, this function
-behaves like `string-equal'.
+behaves like `string-equal', and in that case the IGNORE-CASE argument
+is ignored.
Do NOT use this function to compare file names for equality. */)
(Lisp_Object s1, Lisp_Object s2, Lisp_Object locale, Lisp_Object ignore_case)