From de814dd9b329cf06d3beec427328a0f0224260a0 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 11 Apr 2003 00:42:18 +0000 Subject: [PATCH] (sort-coding-systems): Lower the priorities of all utf-16 base coding systems. --- lisp/ChangeLog | 5 +++++ lisp/international/mule-cmds.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d529fc50928..fd10573cc5e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-04-11 Kenichi Handa + + * international/mule-cmds.el (sort-coding-systems): Lower the + priorities of all utf-16 base coding systems. + 2003-04-10 Juanma Barranquero * frame.el (modify-all-frames-parameters): Deleted. diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 82c9af33161..f98426905b6 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) -- 2.39.2