From: Kenichi Handa Date: Fri, 11 Apr 2003 00:42:18 +0000 (+0000) Subject: (sort-coding-systems): Lower the X-Git-Tag: ttn-vms-21-2-B4~10558 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de814dd9b329cf06d3beec427328a0f0224260a0;p=emacs.git (sort-coding-systems): Lower the priorities of all utf-16 base coding systems. --- 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)