aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2003-04-11 00:42:18 +0000
committerKenichi Handa <[email protected]>2003-04-11 00:42:18 +0000
commitde814dd9b329cf06d3beec427328a0f0224260a0 (patch)
treec55c76339a3e4aeac90e43dbca3fe91d48b42882
parent7418081f483420a7e009584f0053665a7ece9b97 (diff)
(sort-coding-systems): Lower the
priorities of all utf-16 base coding systems.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/international/mule-cmds.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d529fc5092..fd10573cc5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-11 Kenichi Handa <handa@etlken2>
+
+ * international/mule-cmds.el (sort-coding-systems): Lower the
+ priorities of all utf-16 base coding systems.
+
2003-04-10 Juanma Barranquero <[email protected]>
* frame.el (modify-all-frames-parameters): Deleted.
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 82c9af3316..f98426905b 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -430,8 +430,8 @@ non-nil, it is used to sort CODINGS in the different way than above."
;; Lower utf-16 priority so that we
;; normally prefer utf-8 to it, and put
;; x-ctext below that.
- (cond ((or (eq base 'mule-utf-16-le)
- (eq base 'mule-utf-16-be))
+ (cond ((string-match "utf-16"
+ (symbol-name mime))
16)
((string-match "^x-" (symbol-name mime))
8)