diff options
| author | Paul Eggert | 2020-01-23 23:06:27 -0800 |
|---|---|---|
| committer | Paul Eggert | 2020-01-23 23:20:01 -0800 |
| commit | 75c1f936fcff109e19be4abdcddd9fa2204fabca (patch) | |
| tree | 470a221864ad85f3f7cdb133036c47ec6b239ae0 /etc | |
| parent | 04ca1a1e080df1801f5ad8e9bc7d4cf68661ca5f (diff) | |
| download | emacs-75c1f936fcff109e19be4abdcddd9fa2204fabca.tar.gz 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 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -110,6 +110,10 @@ Formerly it made an exception for integer components of SOA records, | |||
| 110 | because SOA serial numbers can exceed fixnum ranges on 32-bit platforms. | 110 | because SOA serial numbers can exceed fixnum ranges on 32-bit platforms. |
| 111 | Emacs now supports bignums so this old glitch is no longer needed. | 111 | Emacs now supports bignums so this old glitch is no longer needed. |
| 112 | 112 | ||
| 113 | ** The Lisp variables 'previous-system-messages-locale' and | ||
| 114 | 'previous-system-time-locale' have been removed, as they were created | ||
| 115 | by mistake and were not useful to Lisp code. | ||
| 116 | |||
| 113 | 117 | ||
| 114 | * Lisp Changes in Emacs 28.1 | 118 | * Lisp Changes in Emacs 28.1 |
| 115 | 119 | ||