]> git.eshelyaron.com Git - emacs.git/commitdiff
(indian-2-column-to-ucs-region): Fix for
authorKenichi Handa <handa@m17n.org>
Thu, 10 Apr 2003 11:57:54 +0000 (11:57 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 10 Apr 2003 11:57:54 +0000 (11:57 +0000)
the case of replacing multibyte characters.

lisp/language/ind-util.el

index c408655e6cdccc5cb52e409255ff26cf5a6b8046..8885960dff8dcb8fab0a61a6f6c7fda562855b70 100644 (file)
@@ -1224,7 +1224,7 @@ Returns new end position."
             (if (= len 1)
                 (setq subst (aref indian-2-column-to-ucs-chartable
                                  (char-after (match-beginning 0))))
-              (setq subst (assoc (match-string 0) alist)))
+              (setq subst (cdr (assoc (match-string 0) alist))))
             (replace-match (if subst subst "?"))))
         (indian-compose-region (point-min) (point-max))))))