From de814dd9b329cf06d3beec427328a0f0224260a0 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 11 Apr 2003 00:42:18 +0000 Subject: (sort-coding-systems): Lower the priorities of all utf-16 base coding systems. --- lisp/international/mule-cmds.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/international/mule-cmds.el') 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) -- cgit v1.2.3