[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 2782bc1: Revert "Fix localized display of date and time in the
From: |
Stefan Kangas |
Subject: |
emacs-28 2782bc1: Revert "Fix localized display of date and time in the NS port" |
Date: |
Tue, 9 Nov 2021 02:50:39 -0500 (EST) |
branch: emacs-28
commit 2782bc113e5944ad404dc87ec309147c39ccca1f
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Revert "Fix localized display of date and time in the NS port"
This reverts commit 5e05be566b0e13ce0b4e75da663fb051039f0751.
This was discussed in
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51321#93
---
src/nsterm.m | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/nsterm.m b/src/nsterm.m
index 19ed750..aa29c13 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -543,10 +543,8 @@ ns_init_locale (void)
NSString *localeID = [NSString stringWithFormat:@"%@.UTF-8",
[locale localeIdentifier]];
- /* Set LANG and LC_ALL to locale, but not if the variables are
- already set. */
+ /* Set LANG to locale, but not if LANG is already set. */
setenv("LANG", [localeID UTF8String], 0);
- setenv("LC_ALL", [localeID UTF8String], 0);
}
@catch (NSException *e)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 2782bc1: Revert "Fix localized display of date and time in the NS port",
Stefan Kangas <=