summaryrefslogtreecommitdiff
path: root/lisp/language
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2012-09-14 00:21:58 +0900
committerKenichi Handa <handa@m17n.org>2012-09-14 00:21:58 +0900
commitd607d303028dca3d7d6ba21b4013f08dd2b0a1d6 (patch)
treebf92bfe27b8fda827fa9191f98813f8c81077295 /lisp/language
parent4d0b77fc572d0b8e834f5241f39f1b4ce2e6bd63 (diff)
downloademacs-d607d303028dca3d7d6ba21b4013f08dd2b0a1d6.tar.gz
language/chinese.el ("Chinese-GB", "Chinese-BIG5", "Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to coding-priority property of these language environment.
Diffstat (limited to 'lisp/language')
-rw-r--r--lisp/language/chinese.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/language/chinese.el b/lisp/language/chinese.el
index ac2afa373c4..782b5a363ad 100644
--- a/lisp/language/chinese.el
+++ b/lisp/language/chinese.el
@@ -110,7 +110,8 @@
(use-cjk-char-width-table 'zh_CN)))
(exit-function . use-default-char-width-table)
(coding-system chinese-iso-8bit iso-2022-cn chinese-hz)
- (coding-priority chinese-iso-8bit chinese-big5 iso-2022-cn)
+ (coding-priority chinese-iso-8bit chinese-gbk chinese-big5
+ iso-2022-cn)
(input-method . "chinese-py-punct")
(features china-util)
(sample-text . "Chinese ($AVPND(B,$AFUM(;0(B,$A::So(B) $ADc:C(B")
@@ -140,7 +141,8 @@
(use-cjk-char-width-table 'zh_HK)))
(exit-function . use-default-char-width-table)
(coding-system chinese-big5 chinese-iso-7bit)
- (coding-priority chinese-big5 iso-2022-cn chinese-iso-8bit)
+ (coding-priority chinese-big5 iso-2022-cn chinese-iso-8bit
+ chinese-gbk)
(input-method . "chinese-py-punct-b5")
(ctext-non-standard-encodings "big5-0")
(features china-util)
@@ -196,7 +198,7 @@
(exit-function . use-default-char-width-table)
(coding-system iso-2022-cn euc-tw)
(coding-priority iso-2022-cn euc-tw chinese-big5
- chinese-iso-8bit)
+ chinese-iso-8bit chinese-gbk)
(features china-util)
(input-method . "chinese-cns-quick")
;; Fixme: presumably it won't accept big5 now.
@@ -216,7 +218,7 @@ accepts Big5 for input also (which is then converted to CNS)."))
(exit-function . use-default-char-width-table)
(coding-system euc-tw iso-2022-cn)
(coding-priority euc-tw chinese-big5 iso-2022-cn
- chinese-iso-8bit)
+ chinese-iso-8bit chinese-gbk)
(features china-util)
(input-method . "chinese-cns-quick")
(documentation . "\