bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#12008: Alphabetic sorting respect user's language and/or locale


From: Eli Zaretskii
Subject: bug#12008: Alphabetic sorting respect user's language and/or locale
Date: Sat, 21 Jul 2012 19:38:21 +0300

> Date: Sat, 21 Jul 2012 19:01:11 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
> 
>   Lisp_Object enc_str1 = ENCODE_SYSTEM (string1);
>   Lisp_Object enc_str2 = ENCODE_SYSTEM (string2);
> 
>   return make_number (strcoll (enc_str1, enc_str2));

Err... make that

   return make_number (strcoll (SDATA (enc_str1), SDATA (enc_str2)));

Sorry.





reply via email to

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