diff options
| author | Richard M. Stallman | 1997-07-02 00:06:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-02 00:06:30 +0000 |
| commit | 71eabd24ae0b21477265502ecfad14c2b8aacad1 (patch) | |
| tree | 10d0a08689660c445fe408f186c81f249b36d8c2 | |
| parent | 2e21aa274a39252eccb385423de16bd6dc02b5e1 (diff) | |
| download | emacs-71eabd24ae0b21477265502ecfad14c2b8aacad1.tar.gz emacs-71eabd24ae0b21477265502ecfad14c2b8aacad1.zip | |
Swap args to define-coding-system-alias.
| -rw-r--r-- | lisp/language/chinese.el | 16 | ||||
| -rw-r--r-- | lisp/language/cyrillic.el | 8 | ||||
| -rw-r--r-- | lisp/language/european.el | 12 | ||||
| -rw-r--r-- | lisp/language/greek.el | 2 | ||||
| -rw-r--r-- | lisp/language/hebrew.el | 2 | ||||
| -rw-r--r-- | lisp/language/japanese.el | 18 | ||||
| -rw-r--r-- | lisp/language/korean.el | 6 |
7 files changed, 32 insertions, 32 deletions
diff --git a/lisp/language/chinese.el b/lisp/language/chinese.el index 4c4392f9b79..a0ad81080cf 100644 --- a/lisp/language/chinese.el +++ b/lisp/language/chinese.el | |||
| @@ -44,8 +44,8 @@ | |||
| 44 | nil ascii-eol ascii-cntl seven locking-shift single-shift nil nil nil | 44 | nil ascii-eol ascii-cntl seven locking-shift single-shift nil nil nil |
| 45 | init-bol)) | 45 | init-bol)) |
| 46 | 46 | ||
| 47 | (define-coding-system-alias 'chinese-iso-7bit 'iso-2022-cn) | 47 | (define-coding-system-alias 'iso-2022-cn 'chinese-iso-7bit) |
| 48 | (define-coding-system-alias 'chinese-iso-7bit 'iso-2022-cn-ext) | 48 | (define-coding-system-alias 'iso-2022-cn-ext 'chinese-iso-7bit) |
| 49 | 49 | ||
| 50 | (define-prefix-command 'describe-chinese-environment-map) | 50 | (define-prefix-command 'describe-chinese-environment-map) |
| 51 | (define-key-after describe-language-environment-map [Chinese] | 51 | (define-key-after describe-language-environment-map [Chinese] |
| @@ -67,8 +67,8 @@ | |||
| 67 | '((ascii t) chinese-gb2312 chinese-sisheng nil | 67 | '((ascii t) chinese-gb2312 chinese-sisheng nil |
| 68 | nil ascii-eol ascii-cntl nil nil single-shift nil)) | 68 | nil ascii-eol ascii-cntl nil nil single-shift nil)) |
| 69 | 69 | ||
| 70 | (define-coding-system-alias 'chinese-iso-8bit 'cn-gb-2312) | 70 | (define-coding-system-alias 'cn-gb-2312 'chinese-iso-8bit) |
| 71 | (define-coding-system-alias 'chinese-iso-8bit 'euc-china) | 71 | (define-coding-system-alias 'euc-china 'chinese-iso-8bit) |
| 72 | 72 | ||
| 73 | (make-coding-system | 73 | (make-coding-system |
| 74 | 'chinese-hz 0 ?z | 74 | 'chinese-hz 0 ?z |
| @@ -77,8 +77,8 @@ | |||
| 77 | (put 'chinese-hz 'post-read-conversion 'post-read-decode-hz) | 77 | (put 'chinese-hz 'post-read-conversion 'post-read-decode-hz) |
| 78 | (put 'chinese-hz 'pre-write-conversion 'pre-write-encode-hz) | 78 | (put 'chinese-hz 'pre-write-conversion 'pre-write-encode-hz) |
| 79 | 79 | ||
| 80 | (define-coding-system-alias 'chinese-hz 'hz-gb-2312) | 80 | (define-coding-system-alias 'hz-gb-2312 'chinese-hz) |
| 81 | (define-coding-system-alias 'chinese-hz 'hz) | 81 | (define-coding-system-alias 'hz 'chinese-hz) |
| 82 | 82 | ||
| 83 | (defun post-read-decode-hz (len) | 83 | (defun post-read-decode-hz (len) |
| 84 | (let ((pos (point))) | 84 | (let ((pos (point))) |
| @@ -113,8 +113,8 @@ | |||
| 113 | (make-coding-system | 113 | (make-coding-system |
| 114 | 'chinese-big5 3 ?B "BIG5 8-bit encoding for Chinese (MIME:CN-BIG5)") | 114 | 'chinese-big5 3 ?B "BIG5 8-bit encoding for Chinese (MIME:CN-BIG5)") |
| 115 | 115 | ||
| 116 | (define-coding-system-alias 'chinese-big5 'big5) | 116 | (define-coding-system-alias 'big5 'chinese-big5) |
| 117 | (define-coding-system-alias 'chinese-big5 'cn-big5) | 117 | (define-coding-system-alias 'cn-big5 'chinese-big5) |
| 118 | 118 | ||
| 119 | ;; Big5 font requires special encoding. | 119 | ;; Big5 font requires special encoding. |
| 120 | (define-ccl-program ccl-encode-big5-font | 120 | (define-ccl-program ccl-encode-big5-font |
diff --git a/lisp/language/cyrillic.el b/lisp/language/cyrillic.el index a4d9aa2b015..922a7e36438 100644 --- a/lisp/language/cyrillic.el +++ b/lisp/language/cyrillic.el | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | '((ascii t) (cyrillic-iso8859-5 t) nil nil | 37 | '((ascii t) (cyrillic-iso8859-5 t) nil nil |
| 38 | nil ascii-eol ascii-cntl nil nil nil nil)) | 38 | nil ascii-eol ascii-cntl nil nil nil nil)) |
| 39 | 39 | ||
| 40 | (define-coding-system-alias 'cyrillic-iso-8bit 'iso-8859-5) | 40 | (define-coding-system-alias 'iso-8859-5 'cyrillic-iso-8bit) |
| 41 | 41 | ||
| 42 | ;; KOI-8 staff | 42 | ;; KOI-8 staff |
| 43 | 43 | ||
| @@ -93,8 +93,8 @@ | |||
| 93 | ?R "KOI8 8-bit encoding for Cyrillic (MIME: KOI8-R)" | 93 | ?R "KOI8 8-bit encoding for Cyrillic (MIME: KOI8-R)" |
| 94 | (cons ccl-decode-koi8 ccl-encode-koi8)) | 94 | (cons ccl-decode-koi8 ccl-encode-koi8)) |
| 95 | 95 | ||
| 96 | (define-coding-system-alias 'cyrillic-koi8 'koi8-r) | 96 | (define-coding-system-alias 'koi8-r 'cyrillic-koi8) |
| 97 | (define-coding-system-alias 'cyrillic-koi8 'koi8) | 97 | (define-coding-system-alias 'koi8 'cyrillic-koi8) |
| 98 | 98 | ||
| 99 | (define-ccl-program ccl-encode-koi8-font | 99 | (define-ccl-program ccl-encode-koi8-font |
| 100 | '(0 | 100 | '(0 |
| @@ -162,7 +162,7 @@ | |||
| 162 | "ALTERNATIVNYJ 8-bit encoding for Cyrillic" | 162 | "ALTERNATIVNYJ 8-bit encoding for Cyrillic" |
| 163 | (cons ccl-decode-alternativnyj ccl-encode-alternativnyj)) | 163 | (cons ccl-decode-alternativnyj ccl-encode-alternativnyj)) |
| 164 | 164 | ||
| 165 | (define-coding-system-alias 'cyrillic-alternativnyj 'alternativnyj) | 165 | (define-coding-system-alias 'alternativnyj 'cyrillic-alternativnyj) |
| 166 | 166 | ||
| 167 | (define-ccl-program ccl-encode-alternativnyj-font | 167 | (define-ccl-program ccl-encode-alternativnyj-font |
| 168 | '(0 | 168 | '(0 |
diff --git a/lisp/language/european.el b/lisp/language/european.el index bfb287276af..826b1006da7 100644 --- a/lisp/language/european.el +++ b/lisp/language/european.el | |||
| @@ -73,8 +73,8 @@ | |||
| 73 | '((ascii t) (latin-iso8859-1 t) nil nil | 73 | '((ascii t) (latin-iso8859-1 t) nil nil |
| 74 | nil ascii-eol ascii-cntl)) | 74 | nil ascii-eol ascii-cntl)) |
| 75 | 75 | ||
| 76 | (define-coding-system-alias 'iso-latin-1 'iso-8859-1) | 76 | (define-coding-system-alias 'iso-8859-1 'iso-latin-1) |
| 77 | (define-coding-system-alias 'iso-latin-1 'ctext) | 77 | (define-coding-system-alias 'ctext 'iso-latin-1) |
| 78 | 78 | ||
| 79 | (defun setup-latin1-environment () | 79 | (defun setup-latin1-environment () |
| 80 | "Set up multilingual environment (MULE) for European Latin-1 users." | 80 | "Set up multilingual environment (MULE) for European Latin-1 users." |
| @@ -104,7 +104,7 @@ These languages are supported with the Latin-1 (ISO-8859-1) character set: | |||
| 104 | '((ascii t) (latin-iso8859-2 t) nil nil | 104 | '((ascii t) (latin-iso8859-2 t) nil nil |
| 105 | nil ascii-eol ascii-cntl nil nil nil nil)) | 105 | nil ascii-eol ascii-cntl nil nil nil nil)) |
| 106 | 106 | ||
| 107 | (define-coding-system-alias 'iso-latin-2 'iso-8859-2) | 107 | (define-coding-system-alias 'iso-8859-2 'iso-latin-2) |
| 108 | 108 | ||
| 109 | (defun setup-latin2-environment () | 109 | (defun setup-latin2-environment () |
| 110 | "Set up multilingual environment (MULE) for European Latin-2 users." | 110 | "Set up multilingual environment (MULE) for European Latin-2 users." |
| @@ -132,7 +132,7 @@ These languages are supported with the Latin-2 (ISO-8859-2) character set: | |||
| 132 | '((ascii t) (latin-iso8859-3 t) nil nil | 132 | '((ascii t) (latin-iso8859-3 t) nil nil |
| 133 | nil ascii-eol ascii-cntl nil nil nil nil)) | 133 | nil ascii-eol ascii-cntl nil nil nil nil)) |
| 134 | 134 | ||
| 135 | (define-coding-system-alias 'iso-latin-3 'iso-8859-3) | 135 | (define-coding-system-alias 'iso-8859-3 'iso-latin-3) |
| 136 | 136 | ||
| 137 | (defun setup-latin3-environment () | 137 | (defun setup-latin3-environment () |
| 138 | "Set up multilingual environment (MULE) for European Latin-3 users." | 138 | "Set up multilingual environment (MULE) for European Latin-3 users." |
| @@ -160,7 +160,7 @@ These languages are supported with the Latin-3 (ISO-8859-3) character set: | |||
| 160 | '((ascii t) (latin-iso8859-4 t) nil nil | 160 | '((ascii t) (latin-iso8859-4 t) nil nil |
| 161 | nil ascii-eol ascii-cntl nil nil nil nil)) | 161 | nil ascii-eol ascii-cntl nil nil nil nil)) |
| 162 | 162 | ||
| 163 | (define-coding-system-alias 'iso-latin-4 'iso-8859-4) | 163 | (define-coding-system-alias 'iso-8859-4 'iso-latin-4) |
| 164 | 164 | ||
| 165 | (defun setup-latin4-environment () | 165 | (defun setup-latin4-environment () |
| 166 | "Set up multilingual environment (MULE) for European Latin-4 users." | 166 | "Set up multilingual environment (MULE) for European Latin-4 users." |
| @@ -188,7 +188,7 @@ These languages are supported with the Latin-4 (ISO-8859-4) character set: | |||
| 188 | '((ascii t) (latin-iso8859-9 t) nil nil | 188 | '((ascii t) (latin-iso8859-9 t) nil nil |
| 189 | nil ascii-eol ascii-cntl nil nil nil nil)) | 189 | nil ascii-eol ascii-cntl nil nil nil nil)) |
| 190 | 190 | ||
| 191 | (define-coding-system-alias 'iso-latin-5 'iso-8859-9) | 191 | (define-coding-system-alias 'iso-8859-9 'iso-latin-5) |
| 192 | 192 | ||
| 193 | (defun setup-latin5-environment () | 193 | (defun setup-latin5-environment () |
| 194 | "Set up multilingual environment (MULE) for European Latin-5 users." | 194 | "Set up multilingual environment (MULE) for European Latin-5 users." |
diff --git a/lisp/language/greek.el b/lisp/language/greek.el index 5634f2eb437..8cb8f45e828 100644 --- a/lisp/language/greek.el +++ b/lisp/language/greek.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | '((ascii t) (greek-iso8859-7 t) nil nil | 34 | '((ascii t) (greek-iso8859-7 t) nil nil |
| 35 | nil ascii-eol ascii-cntl nil nil nil nil)) | 35 | nil ascii-eol ascii-cntl nil nil nil nil)) |
| 36 | 36 | ||
| 37 | (define-coding-system-alias 'greek-iso-8bit 'iso-8859-7) | 37 | (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit) |
| 38 | 38 | ||
| 39 | (defun setup-greek-environment () | 39 | (defun setup-greek-environment () |
| 40 | "Setup multilingual environment (MULE) for Greek." | 40 | "Setup multilingual environment (MULE) for Greek." |
diff --git a/lisp/language/hebrew.el b/lisp/language/hebrew.el index 91c8ff1c09b..bb28cf86edc 100644 --- a/lisp/language/hebrew.el +++ b/lisp/language/hebrew.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | '((ascii t) (hebrew-iso8859-8 t) nil nil | 34 | '((ascii t) (hebrew-iso8859-8 t) nil nil |
| 35 | nil ascii-eol ascii-cntl nil nil nil nil nil t)) | 35 | nil ascii-eol ascii-cntl nil nil nil nil nil t)) |
| 36 | 36 | ||
| 37 | (define-coding-system-alias 'hebrew-iso-8bit 'iso-8859-8) | 37 | (define-coding-system-alias 'iso-8859-8 'hebrew-iso-8bit) |
| 38 | 38 | ||
| 39 | (defun setup-hebrew-environment () | 39 | (defun setup-hebrew-environment () |
| 40 | "Setup multilingual environment (MULE) for Hebrew. | 40 | "Setup multilingual environment (MULE) for Hebrew. |
diff --git a/lisp/language/japanese.el b/lisp/language/japanese.el index 9f192dd088e..77d06d17700 100644 --- a/lisp/language/japanese.el +++ b/lisp/language/japanese.el | |||
| @@ -29,15 +29,15 @@ | |||
| 29 | 29 | ||
| 30 | ;;; Code: | 30 | ;;; Code: |
| 31 | 31 | ||
| 32 | (define-coding-system-alias 'iso-2022-7bit 'iso-2022-jp) | 32 | (define-coding-system-alias 'iso-2022-jp 'iso-2022-7bit) |
| 33 | (define-coding-system-alias 'iso-2022-7bit 'junet) | 33 | (define-coding-system-alias 'junet 'iso-2022-7bit) |
| 34 | 34 | ||
| 35 | (make-coding-system | 35 | (make-coding-system |
| 36 | 'japanese-shift-jis 1 ?S | 36 | 'japanese-shift-jis 1 ?S |
| 37 | "Shift-JIS 8-bit encoding for Japanese (MIME:SHIFT_JIS)") | 37 | "Shift-JIS 8-bit encoding for Japanese (MIME:SHIFT_JIS)") |
| 38 | 38 | ||
| 39 | (define-coding-system-alias 'japanese-shift-jis 'shift_jis) | 39 | (define-coding-system-alias 'shift_jis 'japanese-shift-jis) |
| 40 | (define-coding-system-alias 'japanese-shift-jis 'sjis) | 40 | (define-coding-system-alias 'sjis 'japanese-shift-jis) |
| 41 | 41 | ||
| 42 | (make-coding-system | 42 | (make-coding-system |
| 43 | 'japanese-iso-7bit-1978-irv 2 ?j | 43 | 'japanese-iso-7bit-1978-irv 2 ?j |
| @@ -45,8 +45,8 @@ | |||
| 45 | '((ascii t) nil nil nil | 45 | '((ascii t) nil nil nil |
| 46 | short ascii-eol ascii-cntl seven nil nil use-roman use-oldjis)) | 46 | short ascii-eol ascii-cntl seven nil nil use-roman use-oldjis)) |
| 47 | 47 | ||
| 48 | (define-coding-system-alias 'japanese-iso-7bit-1978-irv 'iso-2022-jp-1978-irv) | 48 | (define-coding-system-alias 'iso-2022-jp-1978-irv 'japanese-iso-7bit-1978-irv) |
| 49 | (define-coding-system-alias 'japanese-iso-7bit-1978-irv 'old-jis) | 49 | (define-coding-system-alias 'old-jis 'japanese-iso-7bit-1978-irv) |
| 50 | 50 | ||
| 51 | (make-coding-system | 51 | (make-coding-system |
| 52 | 'japanese-iso-8bit 2 ?E | 52 | 'japanese-iso-8bit 2 ?E |
| @@ -54,9 +54,9 @@ | |||
| 54 | '(ascii japanese-jisx0208 katakana-jisx0201 japanese-jisx0212 | 54 | '(ascii japanese-jisx0208 katakana-jisx0201 japanese-jisx0212 |
| 55 | short ascii-eol ascii-cntl nil nil single-shift)) | 55 | short ascii-eol ascii-cntl nil nil single-shift)) |
| 56 | 56 | ||
| 57 | (define-coding-system-alias 'japanese-iso-8bit 'euc-japan-1990) | 57 | (define-coding-system-alias 'euc-japan-1990 'japanese-iso-8bit) |
| 58 | (define-coding-system-alias 'japanese-iso-8bit 'euc-japan) | 58 | (define-coding-system-alias 'euc-japan 'japanese-iso-8bit) |
| 59 | (define-coding-system-alias 'japanese-iso-8bit 'euc-jp) | 59 | (define-coding-system-alias 'euc-jp 'japanese-iso-8bit) |
| 60 | 60 | ||
| 61 | (set-language-info-alist | 61 | (set-language-info-alist |
| 62 | "Japanese" '((setup-function . setup-japanese-environment) | 62 | "Japanese" '((setup-function . setup-japanese-environment) |
diff --git a/lisp/language/korean.el b/lisp/language/korean.el index ef996a54a4c..0a1e767f524 100644 --- a/lisp/language/korean.el +++ b/lisp/language/korean.el | |||
| @@ -34,8 +34,8 @@ | |||
| 34 | '((ascii t) korean-ksc5601 nil nil | 34 | '((ascii t) korean-ksc5601 nil nil |
| 35 | nil ascii-eol ascii-cntl)) | 35 | nil ascii-eol ascii-cntl)) |
| 36 | 36 | ||
| 37 | (define-coding-system-alias 'korean-iso-8bit 'euc-kr) | 37 | (define-coding-system-alias 'euc-kr 'korean-iso-8bit) |
| 38 | (define-coding-system-alias 'korean-iso-8bit 'euc-korea) | 38 | (define-coding-system-alias 'euc-korea 'korean-iso-8bit) |
| 39 | 39 | ||
| 40 | (make-coding-system | 40 | (make-coding-system |
| 41 | 'korean-iso-7bit-lock 2 ?k | 41 | 'korean-iso-7bit-lock 2 ?k |
| @@ -44,7 +44,7 @@ | |||
| 44 | nil ascii-eol ascii-cntl seven locking-shift nil nil nil nil nil | 44 | nil ascii-eol ascii-cntl seven locking-shift nil nil nil nil nil |
| 45 | designation-bol)) | 45 | designation-bol)) |
| 46 | 46 | ||
| 47 | (define-coding-system-alias 'korean-iso-7bit-lock 'iso-2022-kr) | 47 | (define-coding-system-alias 'iso-2022-kr 'korean-iso-7bit-lock) |
| 48 | 48 | ||
| 49 | (defun setup-korean-environment () | 49 | (defun setup-korean-environment () |
| 50 | "Setup multilingual environment (MULE) for Korean." | 50 | "Setup multilingual environment (MULE) for Korean." |