emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/hiddenquote 3785446 04/14: Sort syllables with collatio


From: Stefan Monnier
Subject: [elpa] externals/hiddenquote 3785446 04/14: Sort syllables with collation order in mind
Date: Tue, 9 Feb 2021 18:06:53 -0500 (EST)

branch: externals/hiddenquote
commit 3785446a5bba73ed0eea5666161d310e02c2333f
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Mauro Aranda <maurooaranda@gmail.com>

    Sort syllables with collation order in mind
    
    * hiddenquote.el (hiddenquote-puzzle-to-ipuz): Change string-lessp for
    string-collate-less-p when sorting.
---
 hiddenquote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hiddenquote.el b/hiddenquote.el
index 15a166f..9654482 100644
--- a/hiddenquote.el
+++ b/hiddenquote.el
@@ -648,7 +648,7 @@ Returns the `hiddenquote-grid' widget created."
                       ("com.hiddenquote:syllables" .
                        ,(vconcat (sort (copy-sequence
                                         (oref self syllables))
-                                       #'string-lessp))))))
+                                       #'string-collate-lessp))))))
       (let ((json-pretty-print-max-secs 0.0))
         (json-pretty-print (point-min) (point-max)))
       (buffer-string))))



reply via email to

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