# HG changeset patch # User Paul Eggert # Date 943080519 0 # Node ID 949ca235ee9e41b34c52ea897222601f09e092fd # Parent a6cf126fdf9781f451a1982a8f93444f5eb36650 Describe the relationship between set-locale-environment and set-language-environment, and why one might want to invoke set-locale-environment. diff -r a6cf126fdf97 -r 949ca235ee9e man/mule.texi --- a/man/mule.texi Sat Nov 20 00:17:14 1999 +0000 +++ b/man/mule.texi Sat Nov 20 06:48:39 1999 +0000 @@ -181,6 +181,17 @@ @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