]> git.eshelyaron.com Git - emacs.git/commitdiff
(viet-encode-viscii-char): New function.
authorKenichi Handa <handa@m17n.org>
Sun, 2 Aug 1998 01:06:57 +0000 (01:06 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 2 Aug 1998 01:06:57 +0000 (01:06 +0000)
lisp/language/viet-util.el

index 95c54f159c3fea471c856021f1b0fdb68f302c65..5e3ce7e9cf6126062acd82681197abbbdd029f74 100644 (file)
 
 ;;; 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."