emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7c090ebf6b: Improve the doc string of 'string-collate-lessp'


From: Eli Zaretskii
Subject: master 7c090ebf6b: Improve the doc string of 'string-collate-lessp'
Date: Tue, 22 Nov 2022 07:52:49 -0500 (EST)

branch: master
commit 7c090ebf6b3fa065063906f9f8c9da7477fa7818
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Eli Zaretskii <eliz@gnu.org>

    Improve the doc string of 'string-collate-lessp'
    
    * src/fns.c (Fstring_collate_lessp): Clarify that
    IGNORE-CASE argument might be ignored when the operating
    system does not implement string collation for the
    specified locale.  (Bug#59275)
---
 src/fns.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/fns.c b/src/fns.c
index 035fa12935..e337c0958d 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -596,8 +596,9 @@ To emulate Unicode-compliant collation on MS-Windows 
systems,
 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-lessp'.  */)
+Some operating systems do not implement correct collation (in specific
+locale environments or at all).  Then, this functions falls back to
+case-sensitive `string-lessp' and IGNORE-CASE argument is ignored.  */)
   (Lisp_Object s1, Lisp_Object s2, Lisp_Object locale, Lisp_Object ignore_case)
 {
 #if defined __STDC_ISO_10646__ || defined WINDOWSNT



reply via email to

[Prev in Thread] Current Thread [Next in Thread]