changeset 88992:88f65b224d62

(viet-encode-viscii-char): Use encode-char.
author Dave Love <fx@gnu.org>
date Sun, 18 Aug 2002 13:25:12 +0000
parents 8f20edeaf2e8
children a7223f475d71
files lisp/language/viet-util.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/language/viet-util.el	Sun Aug 18 13:18:54 2002 +0000
+++ b/lisp/language/viet-util.el	Sun Aug 18 13:25:12 2002 +0000
@@ -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: