1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

indian.el: fix sorting predicate

* lisp/leim/quail/indian.el
(quail-tamil-itrans-compute-syllable-table): Add missing comparison.
Patch from Visuwesh; bug found by an experimental tool.
This commit is contained in:
Mattias Engdegård 2023-09-06 10:05:25 +02:00
parent 4ac83ee105
commit 9e413584ad

View File

@ -154,8 +154,8 @@ strings that describe how to insert CONSONANT."
(setq consonants
(sort consonants
(lambda (x y)
(or (seq-position (car x) quail-tamil-itrans--consonant-order) 1000)
(or (seq-position (car y) quail-tamil-itrans--consonant-order) 1000))))
(< (or (seq-position (car x) quail-tamil-itrans--consonant-order) 1000)
(or (seq-position (car y) quail-tamil-itrans--consonant-order) 1000)))))
(let ((virama #x0BCD)
clm)
(with-temp-buffer