]> code.delx.au - gnu-emacs/blobdiff - src/emacs.c
Set locale when run from OS X GUI
[gnu-emacs] / src / emacs.c
index e3cfad0f7f8de00d7ded9b0112d9b16b3625708e..ab5d777aa2eb0d375a16472a7477e6b2e3e3b775 100644 (file)
@@ -1310,6 +1310,11 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
   init_ntproc (dumping); /* must precede init_editfns.  */
 #endif
 
+#ifdef HAVE_NS
+  /* Initialise the locale from user defaults. */
+  ns_init_locale();
+#endif
+
   /* Initialize and GC-protect Vinitial_environment and
      Vprocess_environment before set_initial_environment fills them
      in.  */