From: Kenichi Handa Date: Mon, 24 Nov 2003 08:29:16 +0000 (+0000) Subject: (set-language-environment): Put higher priority to charsets listed in X-Git-Tag: emacs-pretest-23.0.90~8295^2~1690 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d0ca2a33f60ef4713339313315d512bdf94568c;p=emacs.git (set-language-environment): Put higher priority to charsets listed in `charset' property of the language environment. --- diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index c3545347335..82456859ebb 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -1700,7 +1700,7 @@ specifies the character set for the major languages of Western Europe." ;; Put higher priorities to such charsets that are supported by the ;; coding systems of higher priorities in this environment. - (let ((charsets nil)) + (let ((charsets (get-language-info language-name 'charset))) (dolist (coding (get-language-info language-name 'coding-priority)) (setq charsets (append charsets (coding-system-charset-list coding)))) (if charsets