diff options
| author | Dave Love | 2002-05-17 20:14:36 +0000 |
|---|---|---|
| committer | Dave Love | 2002-05-17 20:14:36 +0000 |
| commit | a4584db26e898f6a0ab08a873ef78c829babf72b (patch) | |
| tree | 255efcead0f5e1069530d84c3d195ca455b32689 | |
| parent | 5a41bd8b1a5480831f4d7d090998b38c3bc38d79 (diff) | |
| download | emacs-a4584db26e898f6a0ab08a873ef78c829babf72b.tar.gz emacs-a4584db26e898f6a0ab08a873ef78c829babf72b.zip | |
(windows-1258, cp1258): New coding
systems.
(font-ccl-encoder-alist): Remove viscii, vscii.
| -rw-r--r-- | lisp/language/vietnamese.el | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lisp/language/vietnamese.el b/lisp/language/vietnamese.el index 808596c34cb..e6219347f06 100644 --- a/lisp/language/vietnamese.el +++ b/lisp/language/vietnamese.el | |||
| @@ -2,8 +2,9 @@ | |||
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. | 3 | ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. |
| 4 | ;; Licensed to the Free Software Foundation. | 4 | ;; Licensed to the Free Software Foundation. |
| 5 | ;; Copyright (C) 2002 Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | ;; Keywords: multilingual, Vietnamese | 7 | ;; Keywords: multilingual, Vietnamese, i18n |
| 7 | 8 | ||
| 8 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| 9 | 10 | ||
| @@ -55,12 +56,6 @@ | |||
| 55 | 56 | ||
| 56 | (define-coding-system-alias 'viqr 'vietnamese-viqr) | 57 | (define-coding-system-alias 'viqr 'vietnamese-viqr) |
| 57 | 58 | ||
| 58 | (setq font-ccl-encoder-alist | ||
| 59 | (cons '("viscii" . ccl-encode-viscii-font) font-ccl-encoder-alist)) | ||
| 60 | |||
| 61 | (setq font-ccl-encoder-alist | ||
| 62 | (cons '("vscii" . ccl-encode-vscii-font) font-ccl-encoder-alist)) | ||
| 63 | |||
| 64 | (set-language-info-alist | 59 | (set-language-info-alist |
| 65 | "Vietnamese" `((charset viscii) | 60 | "Vietnamese" `((charset viscii) |
| 66 | (coding-system vietnamese-viscii vietnamese-vscii | 61 | (coding-system vietnamese-viscii vietnamese-vscii |
| @@ -78,6 +73,14 @@ Current setting put higher priority to the coding system VISCII than VSCII. | |||
| 78 | If you prefer VSCII, please do: (prefer-coding-system 'vietnamese-vscii)") | 73 | If you prefer VSCII, please do: (prefer-coding-system 'vietnamese-vscii)") |
| 79 | )) | 74 | )) |
| 80 | 75 | ||
| 76 | (define-coding-system 'windows-1258 | ||
| 77 | "windows-1258 encoding for Vietnamese (MIME: WINDOWS-1258)" | ||
| 78 | :coding-type 'charset | ||
| 79 | :mnemonic ?* | ||
| 80 | :charset-list '(windows-1258) | ||
| 81 | :mime-charset 'windows-1258) | ||
| 82 | (define-coding-system-alias 'cp1258 'windows-1258) | ||
| 83 | |||
| 81 | (provide 'vietnamese) | 84 | (provide 'vietnamese) |
| 82 | 85 | ||
| 83 | ;;; vietnamese.el ends here | 86 | ;;; vietnamese.el ends here |