]> git.eshelyaron.com Git - emacs.git/commitdiff
(devanagari-reorder-glyphs-for-decomposition): Fix the way to
authorKenichi Handa <handa@m17n.org>
Tue, 15 Dec 1998 04:35:38 +0000 (04:35 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 15 Dec 1998 04:35:38 +0000 (04:35 +0000)
handle devanagari-decomposition-rules.

lisp/language/devan-util.el

index c74d74b1653b31df4b56d4e719a4b12811f44222..a9badda617c3feb08db960cf47ce33a4959a7fed 100644 (file)
@@ -1166,8 +1166,8 @@ Ligatures and special rules are processed."
   "This function re-orders glyph list for decomposition."
   (sort glyphlist 
        '(lambda (x y) 
-          (let ((xx (assoc x devanagari-decomposition-rules))
-                (yy (assoc y devanagari-decomposition-rules)))
+          (let ((xx (nth 1 (assoc x devanagari-decomposition-rules)))
+                (yy (nth 1 (assoc y devanagari-decomposition-rules))))
             (if (null xx) (setq xx 0))
             (if (null yy) (setq yy 0))
             (< xx yy)))))