* emacs.c (main): Call fixup_locale a second time for GNUStep.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 8 Dec 2013 12:18:13 +0000 (13:18 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 8 Dec 2013 12:18:13 +0000 (13:18 +0100)
src/ChangeLog
src/emacs.c

index 02be1e9..5711b35 100644 (file)
@@ -1,3 +1,7 @@
+2013-12-08  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * emacs.c (main): Call fixup_locale a second time for GNUStep.
+
 2013-12-08  Martin Rudalics  <rudalics@gmx.at>
 
        * frame.c (x_set_font): Mark frame as garbaged (Bug#16028).
index 159b0d5..3243c38 100644 (file)
@@ -1195,6 +1195,11 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
 
 #ifdef HAVE_NS
   ns_pool = ns_alloc_autorelease_pool ();
+#ifdef NS_IMPL_GNUSTEP
+  /* GNUStep stupidly resets our locale settings after we made them.  */
+  fixup_locale ();
+#endif
+
   if (!noninteractive)
     {
 #ifdef NS_IMPL_COCOA