changeset 26513:949ca235ee9e

Describe the relationship between set-locale-environment and set-language-environment, and why one might want to invoke set-locale-environment.
author Paul Eggert <eggert@twinsun.com>
date Sat, 20 Nov 1999 06:48:39 +0000
parents a6cf126fdf97
children 3e1c04e6791b
files man/mule.texi
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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