]> git.eshelyaron.com Git - emacs.git/commit
Make 'load-dangerous-libraries' obsolete (Bug#37819)
authorStefan Kangas <stefankangas@gmail.com>
Sun, 1 Mar 2020 00:19:23 +0000 (01:19 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 1 Mar 2020 00:19:23 +0000 (01:19 +0100)
commite98ee8ddac24f7db3acfbbaadde5116d138bf698
treea95466e9ebba777a5a76c0c48f5eba09c037f46c
parent79fe3205663ffee171b1694a35a8c1a22fceb8f4
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.
doc/emacs/building.texi
etc/NEWS
lisp/subr.el
src/lread.c