1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Describe the relationship between set-locale-environment and

set-language-environment, and why one might want to invoke
set-locale-environment.
This commit is contained in:
Paul Eggert 1999-11-20 06:51:09 +00:00
parent 2dedd03c49
commit fa71a53211
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,9 @@
1999-11-20 Paul Eggert <eggert@twinsun.com>
* mule.texi: Describe the relationship between
set-locale-environment and set-language-environment, and why
one might want to invoke set-locale-environment.
1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
* cc-mode.texi: Fix complaints from makeinfo 4.0.

View File

@ -181,6 +181,17 @@ locale @samp{en_GB.ISO8859-15} matches @code{"Latin-1"} in
@code{locale-charset-language-names}; since these two language
environments' character sets disagree, Emacs uses @code{"Latin-9"}.
If all goes well, the @code{set-locale-environment} function selects
the language environment, since language is part of locale. It also
adjusts the display table and terminal coding system, the locale coding
system, and the preferred coding system as needed for the locale.
Since the @code{set-locale-environment} function is automatically
invoked during startup, you normally do not need to invoke it yourself.
However, if you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG}
environment variables, you may want to invoke the
@code{set-locale-environment} function afterwards.
@findex set-locale-environment
@vindex locale-preferred-coding-systems
The @code{set-locale-environment} function normally uses the preferred