diff options
| author | Chong Yidong | 2009-06-18 17:53:33 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-06-18 17:53:33 +0000 |
| commit | edfe155bc267b182b4d7aead7758cbf5581782cd (patch) | |
| tree | 91a05ecc1819035ae89f2d7beff5d2c365fffb58 /lisp/language | |
| parent | f91e331380fd468cacc383c449c5711b3547c244 (diff) | |
| download | emacs-edfe155bc267b182b4d7aead7758cbf5581782cd.tar.gz emacs-edfe155bc267b182b4d7aead7758cbf5581782cd.zip | |
* language/korean.el (korean-cp949): New coding system. Set cp949
as an alias to it.
Diffstat (limited to 'lisp/language')
| -rw-r--r-- | lisp/language/korean.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/language/korean.el b/lisp/language/korean.el index 2a1c96c9757..e8e78bfc47b 100644 --- a/lisp/language/korean.el +++ b/lisp/language/korean.el | |||
| @@ -43,7 +43,6 @@ | |||
| 43 | 43 | ||
| 44 | (define-coding-system-alias 'euc-kr 'korean-iso-8bit) | 44 | (define-coding-system-alias 'euc-kr 'korean-iso-8bit) |
| 45 | (define-coding-system-alias 'euc-korea 'korean-iso-8bit) | 45 | (define-coding-system-alias 'euc-korea 'korean-iso-8bit) |
| 46 | (define-coding-system-alias 'cp949 'korean-iso-8bit) | ||
| 47 | 46 | ||
| 48 | (define-coding-system 'iso-2022-kr | 47 | (define-coding-system 'iso-2022-kr |
| 49 | "ISO 2022 based 7-bit encoding for Korean KSC5601 (MIME:ISO-2022-KR)." | 48 | "ISO 2022 based 7-bit encoding for Korean KSC5601 (MIME:ISO-2022-KR)." |
| @@ -58,6 +57,14 @@ | |||
| 58 | 57 | ||
| 59 | (define-coding-system-alias 'korean-iso-7bit-lock 'iso-2022-kr) | 58 | (define-coding-system-alias 'korean-iso-7bit-lock 'iso-2022-kr) |
| 60 | 59 | ||
| 60 | (define-coding-system 'korean-cp949 | ||
| 61 | "CP949 (Microsoft Unified Hangul Code)" | ||
| 62 | :coding-type 'charset | ||
| 63 | :mnemonic ?K | ||
| 64 | :charset-list '(ascii cp949)) | ||
| 65 | |||
| 66 | (define-coding-system-alias 'cp949 'korean-cp949) | ||
| 67 | |||
| 61 | (set-language-info-alist | 68 | (set-language-info-alist |
| 62 | "Korean" '((setup-function . setup-korean-environment-internal) | 69 | "Korean" '((setup-function . setup-korean-environment-internal) |
| 63 | (exit-function . exit-korean-environment) | 70 | (exit-function . exit-korean-environment) |