]> git.eshelyaron.com Git - emacs.git/commit
Set locale when run from OS X GUI
authorAlan Third <alan@idiocy.org>
Thu, 11 Feb 2016 02:27:50 +0000 (18:27 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Feb 2016 02:36:04 +0000 (18:36 -0800)
commiteb4a18c7db2286bcb9d9ea8f392175a28a86772c
treeb1dabf5c65d2fe69a9bc18f2eb9ee1f0d5b8e7c9
parent456c0a3137bf58ee61a8e442cff0ca5d808e8d32
Set locale when run from OS X GUI

* src/emacs.c (main): Call ns_init_locale.
* src/nsterm.m (ns_init_locale): Get locale from OS and set LANG.
* src/nsterm.h: Include ns_init_locale.
src/emacs.c
src/nsterm.h
src/nsterm.m