From: Kenichi Handa Date: Thu, 10 Apr 2003 11:57:54 +0000 (+0000) Subject: (indian-2-column-to-ucs-region): Fix for X-Git-Tag: ttn-vms-21-2-B4~10564 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=20412adcc246a6baf74f1b454b00d3c478beac96;p=emacs.git (indian-2-column-to-ucs-region): Fix for the case of replacing multibyte characters. --- diff --git a/lisp/language/ind-util.el b/lisp/language/ind-util.el index c408655e6cd..8885960dff8 100644 --- a/lisp/language/ind-util.el +++ b/lisp/language/ind-util.el @@ -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))))))