# HG changeset patch # User Kenichi Handa # Date 913696538 0 # Node ID 6402c89c30c320a037aa48882a678a6c87ede237 # Parent b08de5b1299caaee0643aa2bb845e61e9ee794c1 (devanagari-reorder-glyphs-for-decomposition): Fix the way to handle devanagari-decomposition-rules. diff -r b08de5b1299c -r 6402c89c30c3 lisp/language/devan-util.el --- a/lisp/language/devan-util.el Tue Dec 15 04:35:38 1998 +0000 +++ b/lisp/language/devan-util.el Tue Dec 15 04:35:38 1998 +0000 @@ -1166,8 +1166,8 @@ "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)))))