changeset 91918:0ae97cb23ed8

(set-locale-environment): Pass `frame' to getenv for LC_MESSAGES.
author Glenn Morris <rgm@gnu.org>
date Sun, 17 Feb 2008 23:12:45 +0000
parents 87329c26bee9
children 445eeb5f6902
files lisp/international/mule-cmds.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Sun Feb 17 23:11:26 2008 +0000
+++ b/lisp/international/mule-cmds.el	Sun Feb 17 23:12:45 2008 +0000
@@ -2516,7 +2516,7 @@
 
     (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)))))