changeset 22880:125bb37b2e27

(viet-encode-viscii-char): New function.
author Kenichi Handa <handa@m17n.org>
date Sun, 02 Aug 1998 01:06:57 +0000
parents 33987189baf3
children e0e17bbd8e6c
files lisp/language/viet-util.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/language/viet-util.el	Sun Aug 02 01:06:57 1998 +0000
+++ b/lisp/language/viet-util.el	Sun Aug 02 01:06:57 1998 +0000
@@ -36,6 +36,12 @@
 ;;; Code:
 
 ;;;###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))
+
+;;;###autoload
 (defun setup-vietnamese-environment ()
   "Setup multilingual environment (MULE) for Vietnamese VISCII users."
   (interactive)