diff options
| author | Stefan Kangas | 2021-11-09 08:49:34 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2021-11-09 08:49:34 +0100 |
| commit | 2782bc113e5944ad404dc87ec309147c39ccca1f (patch) | |
| tree | 0eca8cdedd83baffb0bcaef18e13696e3dffdd0f /src | |
| parent | 307d164c9c053501df8159719b3b502d720a945a (diff) | |
| download | emacs-2782bc113e5944ad404dc87ec309147c39ccca1f.tar.gz emacs-2782bc113e5944ad404dc87ec309147c39ccca1f.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 19ed750d217..aa29c13eb22 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -543,10 +543,8 @@ ns_init_locale (void) | |||
| 543 | NSString *localeID = [NSString stringWithFormat:@"%@.UTF-8", | 543 | NSString *localeID = [NSString stringWithFormat:@"%@.UTF-8", |
| 544 | [locale localeIdentifier]]; | 544 | [locale localeIdentifier]]; |
| 545 | 545 | ||
| 546 | /* Set LANG and LC_ALL to locale, but not if the variables are | 546 | /* Set LANG to locale, but not if LANG is already set. */ |
| 547 | already set. */ | ||
| 548 | setenv("LANG", [localeID UTF8String], 0); | 547 | setenv("LANG", [localeID UTF8String], 0); |
| 549 | setenv("LC_ALL", [localeID UTF8String], 0); | ||
| 550 | } | 548 | } |
| 551 | @catch (NSException *e) | 549 | @catch (NSException *e) |
| 552 | { | 550 | { |