diff options
| author | Dave Love | 2002-08-18 13:25:12 +0000 |
|---|---|---|
| committer | Dave Love | 2002-08-18 13:25:12 +0000 |
| commit | 95375a68f94a1daea94598e436a443a791c03fd0 (patch) | |
| tree | 9a0f9403446ac1c3b8782d7b7781784d056fa989 | |
| parent | 0a3fa7140af59cacecf53dfb56db66cda0a2b51c (diff) | |
| download | emacs-95375a68f94a1daea94598e436a443a791c03fd0.tar.gz emacs-95375a68f94a1daea94598e436a443a791c03fd0.zip | |
(viet-encode-viscii-char): Use encode-char.
| -rw-r--r-- | lisp/language/viet-util.el | 3 |
1 files changed, 1 insertions, 2 deletions
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 @@ | |||
| 38 | ;;;###autoload | 38 | ;;;###autoload |
| 39 | (defun viet-encode-viscii-char (char) | 39 | (defun viet-encode-viscii-char (char) |
| 40 | "Return VISCII character code of CHAR if appropriate." | 40 | "Return VISCII character code of CHAR if appropriate." |
| 41 | (aref (char-table-extra-slot viet-viscii-nonascii-translation-table 0) | 41 | (encode-char char 'viscii)) |
| 42 | char)) | ||
| 43 | 42 | ||
| 44 | ;; VIQR is a menmonic encoding specification for Vietnamese. | 43 | ;; VIQR is a menmonic encoding specification for Vietnamese. |
| 45 | ;; It represents diacritical marks by ASCII characters as follows: | 44 | ;; It represents diacritical marks by ASCII characters as follows: |