From: Dave Love Date: Sun, 18 Aug 2002 13:25:12 +0000 (+0000) Subject: (viet-encode-viscii-char): Use encode-char. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~441 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=95375a68f94a1daea94598e436a443a791c03fd0;p=emacs.git (viet-encode-viscii-char): Use encode-char. --- diff --git a/lisp/language/viet-util.el b/lisp/language/viet-util.el index 0268f6f0bb3..1234844b2c6 100644 --- a/lisp/language/viet-util.el +++ b/lisp/language/viet-util.el @@ -38,8 +38,7 @@ ;;;###autoload (defun viet-encode-viscii-char (char) "Return VISCII character code of CHAR if appropriate." - (aref (char-table-extra-slot viet-viscii-nonascii-translation-table 0) - char)) + (encode-char char 'viscii)) ;; VIQR is a menmonic encoding specification for Vietnamese. ;; It represents diacritical marks by ASCII characters as follows: