]> git.eshelyaron.com Git - emacs.git/commitdiff
(set-language-environment): Put higher priority to charsets listed in
authorKenichi Handa <handa@m17n.org>
Mon, 24 Nov 2003 08:29:16 +0000 (08:29 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 24 Nov 2003 08:29:16 +0000 (08:29 +0000)
`charset' property of the language environment.

lisp/international/mule-cmds.el

index c3545347335be1e8f3d5540f6869367ce92b9fee..82456859ebb92c5c86f59eb0a0a9c49fa53ef361 100644 (file)
@@ -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