aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Kangas2020-03-01 01:19:23 +0100
committerStefan Kangas2020-03-01 01:19:23 +0100
commite98ee8ddac24f7db3acfbbaadde5116d138bf698 (patch)
treea95466e9ebba777a5a76c0c48f5eba09c037f46c /doc
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 'doc')
-rw-r--r--doc/emacs/building.texi7
1 files changed, 0 insertions, 7 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index 02f18865f39..272b08d08e9 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -1528,13 +1528,6 @@ Automatic loading also occurs when completing names for
1528prefix being completed. To disable this feature, change the variable 1528prefix being completed. To disable this feature, change the variable
1529@code{help-enable-completion-autoload} to @code{nil}. 1529@code{help-enable-completion-autoload} to @code{nil}.
1530 1530
1531@vindex load-dangerous-libraries
1532@cindex Lisp files byte-compiled by XEmacs
1533 By default, Emacs refuses to load compiled Lisp files which were
1534compiled with XEmacs, a modified version of Emacs---they can cause
1535Emacs to crash. Set the variable @code{load-dangerous-libraries} to
1536@code{t} if you want to try loading them.
1537
1538@node Lisp Eval 1531@node Lisp Eval
1539@section Evaluating Emacs Lisp Expressions 1532@section Evaluating Emacs Lisp Expressions
1540@cindex Emacs Lisp mode 1533@cindex Emacs Lisp mode