mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
(set-language-environment): Put higher priority to charsets listed in
`charset' property of the language environment.
This commit is contained in:
parent
c2e3456e63
commit
9d0ca2a33f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user