(set-locale-environment): Pass `frame' to getenv for LC_MESSAGES.

This commit is contained in:
Glenn Morris 2008-02-17 23:13:59 +00:00
parent ac1efd51d2
commit 739b776471
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-02-17 Glenn Morris <rgm@gnu.org>
* international/mule-cmds.el (set-locale-environment): Pass
`frame' to getenv for LC_MESSAGES.
2008-02-17 Juri Linkov <juri@jurta.org>
* time.el (emacs-init-time): Use format instead of format-seconds.

View file

@ -2516,7 +2516,7 @@ See also `locale-charset-language-names', `locale-language-names',
(setq woman-locale
(or system-messages-locale
(let ((msglocale (getenv "LC_MESSAGES")))
(let ((msglocale (getenv "LC_MESSAGES" frame)))
(if (zerop (length msglocale))
locale
(locale-translate msglocale)))))