diff options
| author | Jason Rumney | 2004-05-09 21:36:45 +0000 |
|---|---|---|
| committer | Jason Rumney | 2004-05-09 21:36:45 +0000 |
| commit | 64ec7df91d02bda490b03807eac4b1249a26c97b (patch) | |
| tree | af47488ccca523be8085fa7ab8f5a6a98fbfa6af | |
| parent | 6eac8f524f1151332f82156383bc520b44b4eff5 (diff) | |
| download | emacs-64ec7df91d02bda490b03807eac4b1249a26c97b.tar.gz emacs-64ec7df91d02bda490b03807eac4b1249a26c97b.zip | |
(cp932, cp936, cp949, cp950): Remove.
Only add cp125* if windows-125* already defined.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/international/code-pages.el | 11 |
2 files changed, 11 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 42428a81964..b47afc8c4af 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,14 @@ | |||
| 1 | 2004-05-09 Jason Rumney <jasonr@gnu.org> | 1 | 2004-05-09 Jason Rumney <jasonr@gnu.org> |
| 2 | 2 | ||
| 3 | * international/code-pages (cp932, cp936, cp949, c950): Remove. | ||
| 4 | Only define cp125* if windows-125* is already defined. | ||
| 5 | |||
| 6 | * language/korean.el (cp949): Add alias. | ||
| 7 | |||
| 8 | * language/chinese.el (cp936, cp950): Add aliases. | ||
| 9 | |||
| 10 | * language/japanese.el (cp932): Add alias. | ||
| 11 | |||
| 3 | * term/w32-win.el: Require code-pages. | 12 | * term/w32-win.el: Require code-pages. |
| 4 | 13 | ||
| 5 | * international/mule-cmds.el (set-locale-environment): On | 14 | * international/mule-cmds.el (set-locale-environment): On |
diff --git a/lisp/international/code-pages.el b/lisp/international/code-pages.el index 58bedc84e59..64c430f9383 100644 --- a/lisp/international/code-pages.el +++ b/lisp/international/code-pages.el | |||
| @@ -4488,19 +4488,12 @@ Return an updated `non-iso-charset-alist'." | |||
| 4488 | ;; Define cp125* as aliases for all windows-125*, so on Windows | 4488 | ;; Define cp125* as aliases for all windows-125*, so on Windows |
| 4489 | ;; we can just concat "cp" to the ANSI codepage we get from the system | 4489 | ;; we can just concat "cp" to the ANSI codepage we get from the system |
| 4490 | ;; and not have to worry about whether it should be "cp" or "windows-". | 4490 | ;; and not have to worry about whether it should be "cp" or "windows-". |
| 4491 | (define-coding-system-alias c w) | 4491 | (if (coding-system-p w) |
| 4492 | (define-coding-system-alias c w)) | ||
| 4492 | ;; Compatibility with codepage.el, though cp... are not the | 4493 | ;; Compatibility with codepage.el, though cp... are not the |
| 4493 | ;; canonical names. | 4494 | ;; canonical names. |
| 4494 | (push (assoc w non-iso-charset-alist) non-iso-charset-alist))) | 4495 | (push (assoc w non-iso-charset-alist) non-iso-charset-alist))) |
| 4495 | 4496 | ||
| 4496 | ;; DOS/Windows codepages that correspond to coding systems already supported | ||
| 4497 | ;; by Emacs. Only codepages used as system codepages are listed here, | ||
| 4498 | ;; to assist in finding the appropriate coding-system for clipboard etc. | ||
| 4499 | (define-coding-system-alias 'cp932 'japanese-shift-jis) | ||
| 4500 | (define-coding-system-alias 'cp936 'chinese-iso-8bit) | ||
| 4501 | (define-coding-system-alias 'cp949 'korean-iso-8bit) | ||
| 4502 | (define-coding-system-alias 'cp950 'chinese-big5) | ||
| 4503 | |||
| 4504 | (provide 'code-pages) | 4497 | (provide 'code-pages) |
| 4505 | 4498 | ||
| 4506 | ;;; arch-tag: 8b6e3c73-b271-4198-866d-ea6d0ceff1b2 | 4499 | ;;; arch-tag: 8b6e3c73-b271-4198-866d-ea6d0ceff1b2 |