diff options
| author | Stefan Kangas | 2020-03-01 01:19:23 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2020-03-01 01:19:23 +0100 |
| commit | e98ee8ddac24f7db3acfbbaadde5116d138bf698 (patch) | |
| tree | a95466e9ebba777a5a76c0c48f5eba09c037f46c /etc | |
| parent | 79fe3205663ffee171b1694a35a8c1a22fceb8f4 (diff) | |
| download | emacs-e98ee8ddac24f7db3acfbbaadde5116d138bf698.tar.gz emacs-e98ee8ddac24f7db3acfbbaadde5116d138bf698.zip | |
Make 'load-dangerous-libraries' obsolete (Bug#37819)
When 'load-dangerous-libraries' was t, Emacs allowed loading .elc
files compiled by XEmacs. This patch removes the support for that use
case, and declares the variable obsolete.
* lisp/subr.el (load-dangerous-libraries): Declare obsolete.
* src/lread.c (Fload): Ignore its value, and thereby refuse to load
files byte compiled by XEmacs.
(syms_of_lread): Update doc string of 'bytecomp-version-regexp' to not
refer to it.
* doc/emacs/building.texi (Lisp Libraries): Remove its documentation.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -202,6 +202,11 @@ Emacs now supports bignums so this old glitch is no longer needed. | |||
| 202 | 'previous-system-time-locale' have been removed, as they were created | 202 | 'previous-system-time-locale' have been removed, as they were created |
| 203 | by mistake and were not useful to Lisp code. | 203 | by mistake and were not useful to Lisp code. |
| 204 | 204 | ||
| 205 | ** The 'load-dangerous-libraries' variable is now obsolete. | ||
| 206 | It was used to allow loading Lisp libraries compiled by XEmacs, a | ||
| 207 | modified version of Emacs which is no longer actively maintained. | ||
| 208 | This is no longer supported, and setting this variable has no effect. | ||
| 209 | |||
| 205 | 210 | ||
| 206 | * Lisp Changes in Emacs 28.1 | 211 | * Lisp Changes in Emacs 28.1 |
| 207 | 212 | ||