# HG changeset patch # User Dave Love # Date 1029677112 0 # Node ID 88f65b224d6298f0cf429e307bb69c4257730f5f # Parent 8f20edeaf2e80dc55bb7dfd0b6e292363b4c5382 (viet-encode-viscii-char): Use encode-char. diff -r 8f20edeaf2e8 -r 88f65b224d62 lisp/language/viet-util.el --- 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: