diff options
| author | Glenn Morris | 2008-02-17 23:13:59 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-02-17 23:13:59 +0000 |
| commit | 739b776471d9ee3f193a10c93704c577515ac485 (patch) | |
| tree | 2d1849bb915c25e60be9e6b5e0f0f34e67a8ad66 | |
| parent | ac1efd51d29d4ebe75a4810d68280ce48f65f9f6 (diff) | |
| download | emacs-739b776471d9ee3f193a10c93704c577515ac485.tar.gz emacs-739b776471d9ee3f193a10c93704c577515ac485.zip | |
(set-locale-environment): Pass `frame' to getenv for LC_MESSAGES.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/international/mule-cmds.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b579d17c124..7a236b3f620 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-02-17 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * international/mule-cmds.el (set-locale-environment): Pass | ||
| 4 | `frame' to getenv for LC_MESSAGES. | ||
| 5 | |||
| 1 | 2008-02-17 Juri Linkov <juri@jurta.org> | 6 | 2008-02-17 Juri Linkov <juri@jurta.org> |
| 2 | 7 | ||
| 3 | * time.el (emacs-init-time): Use format instead of format-seconds. | 8 | * time.el (emacs-init-time): Use format instead of format-seconds. |
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 9ff771d7137..45b3543b0ee 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -2516,7 +2516,7 @@ See also `locale-charset-language-names', `locale-language-names', | |||
| 2516 | 2516 | ||
| 2517 | (setq woman-locale | 2517 | (setq woman-locale |
| 2518 | (or system-messages-locale | 2518 | (or system-messages-locale |
| 2519 | (let ((msglocale (getenv "LC_MESSAGES"))) | 2519 | (let ((msglocale (getenv "LC_MESSAGES" frame))) |
| 2520 | (if (zerop (length msglocale)) | 2520 | (if (zerop (length msglocale)) |
| 2521 | locale | 2521 | locale |
| 2522 | (locale-translate msglocale))))) | 2522 | (locale-translate msglocale))))) |