If coding-system-charset-list returns `iso-2022' or `emacs-mule',
ignore them.
2009-07-15 Kenichi Handa <handa@m17n.org>
+ * international/mule-cmds.el (set-language-environment-charset):
+ If coding-system-charset-list returns `iso-2022' or `emacs-mule',
+ ignore them.
+
* language/misc-lang.el ("IPA"): Change coding systems to utf-8.
Delete unibyte-display.
;; coding systems of higher priorities in this environment.
(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))))
+ (let ((list (coding-system-charset-list coding)))
+ (if (consp list)
+ (setq charsets (append charsets list)))))
(if charsets
(apply 'set-charset-priority charsets))))