diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-01-23 23:06:27 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-01-23 23:20:01 -0800 |
commit | 75c1f936fcff109e19be4abdcddd9fa2204fabca (patch) | |
tree | 470a221864ad85f3f7cdb133036c47ec6b239ae0 /lisp/progmodes/python.el | |
parent | 04ca1a1e080df1801f5ad8e9bc7d4cf68661ca5f (diff) | |
download | emacs-75c1f936fcff109e19be4abdcddd9fa2204fabca.tar.gz emacs-75c1f936fcff109e19be4abdcddd9fa2204fabca.tar.bz2 emacs-75c1f936fcff109e19be4abdcddd9fa2204fabca.zip |
Simplify locale setup
Stop exporting Vprevious_system_time_locale and
Vprevious_system_messages_locale to Elisp. I did that export by
mistake in 1999, and the Elisp variables have never been used.
Simplifying this cruft should make it easier to fix Bug#39248.
* etc/NEWS: Mention this.
* src/emacs.c (main): Simplify locale initialization.
(synchronize_locale): Simplify.
(Vprevious_system_time_locale, Vprevious_system_messages_locale):
Now static variables not visible to Lisp, and defined only if
HAVE_SETLOCALE.
(Vprevious_system_messages_locale): Define only if LC_MESSAGES.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions