aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Kangas2020-03-01 01:19:23 +0100
committerStefan Kangas2020-03-01 01:19:23 +0100
commite98ee8ddac24f7db3acfbbaadde5116d138bf698 (patch)
treea95466e9ebba777a5a76c0c48f5eba09c037f46c /lisp
parent79fe3205663ffee171b1694a35a8c1a22fceb8f4 (diff)
downloademacs-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 'lisp')
-rw-r--r--lisp/subr.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index b5ec0de156a..96b98c6a5b3 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1621,6 +1621,9 @@ be a list of the form returned by `event-start' and `event-end'."
1621(defvaralias 'messages-buffer-max-lines 'message-log-max) 1621(defvaralias 'messages-buffer-max-lines 'message-log-max)
1622(define-obsolete-variable-alias 'inhibit-null-byte-detection 1622(define-obsolete-variable-alias 'inhibit-null-byte-detection
1623 'inhibit-nul-byte-detection "27.1") 1623 'inhibit-nul-byte-detection "27.1")
1624(make-obsolete-variable 'load-dangerous-libraries
1625 "no longer used." "27.1")
1626
1624 1627
1625;;;; Alternate names for functions - these are not being phased out. 1628;;;; Alternate names for functions - these are not being phased out.
1626 1629