Use Latin-1 (not Latin-3) for Afrikaans, Galician.
Use Latin-5 (not Cyrillic-ISO) for Byelorussian, Bulgarian,
Macedonian, Russian, Ukrainian, Serbian (Cyrillic alphabet).
Use Latin-8 for Welsh.
Use Latin-1 for English if "en" is explicitly specified.
Use Latin-1 for Scots Gaelic, Tagalog.
Use Latin-1 (not Latin-4) for Greenlandic.
Use Latin-1 (not Latin-2) for Albanian.
(locale-preferred-coding-systems, locale-language-names):
Remove generic ISO 8859 locales; locale-charset-language-names now
does this.
(locale-charset-language-names): New variable.
(set-locale-environment): Use language name specified by
locale-charset-language-names if its charsets disagree with the
language name specified by locale-language-names.
Do not use backquote, because that makes a bootstrapping
problem if you need to recompile all Lisp files using interpreted code.
* international/mule.el (charset-id, charset-bytes,
charset-dimension, charset-chars, charset-width,
charset-direction, charset-iso-final-char,
charset-iso-graphic-plane, charset-reverse-charset,
charset-short-name, charset-long-name, charset-description,
charset-plist): Likewise.
* international/mule-cmds.el
(set-display-table-and-terminal-coding-system): New function,
containing code migrated out of set-language-environment.
(set-language-environment, set-locale-environment): Use it.
(locale-translation-file-name): Moved here from startup.el.
(locale-language-names, locale-preferred-coding-systems):
New vars.
(locale-name-match, set-locale-environment): New functions.
(ccl-program-p): Deleted. Now it's implemented in C code.
(ccl-compile-call): Use ccl-embed-symbol to embed a symbol.
(ccl-compile-translate-character): Likewise.
(ccl-compile-map-single): Likewise.
(ccl-compile-multiple-map-function): Likewise.
(declare-ccl-program): Doc-string modified.
(check-ccl-program): Check compiled CCL code by ccl-program-p.
but push it to unread-command-events.
(encoded-kbd-self-insert-iso2022-8bit): Likewise.
(encoded-kbd-self-insert-sjis): Likewise.
(encoded-kbd-self-insert-big5): Likewise.