diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-11-23 16:54:01 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-11-23 16:54:01 +0200 |
commit | 43e616aca56daa438e47051e15f8d2a7454a5cb1 (patch) | |
tree | 1152499975d53ac1f2d1c5d7eac2768879c8f97f /src/fns.c | |
parent | 5568ac2db0fe2707676d9e4d1cfe027fba83767d (diff) | |
download | emacs-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.c | 3 |
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) |