# HG changeset patch # User Eli Zaretskii # Date 966935575 0 # Node ID 561ef681eab5b248bb23ddea7e3d4566fe9b32e9 # Parent 3cd6db455d112a3cc97ff1013348dfaa2ca1fa3e Document load-dangerous-libraries. diff -r 3cd6db455d11 -r 561ef681eab5 man/building.texi --- a/man/building.texi Tue Aug 22 09:05:59 2000 +0000 +++ b/man/building.texi Tue Aug 22 09:12:55 2000 +0000 @@ -645,6 +645,15 @@ Thus, the compiled code for @file{foo.el} goes in @file{foo.elc}. That's why @code{load-library} searches for @samp{.elc} files first. +@vindex load-dangerous-libraries +@cindex Lisp files byte-compiled by XEmacs + By default, Emacs refuses to load compiled Lisp files which weren't +compiled with Emacs. This is because an incompatible change was +introduced into XEmacs' byte compiler, which could produce files with +byte codes that cause Emacs to crash. Set the variable +@code{load-dangerous-libraries} to t if you want to change this +behavior. + @node Lisp Eval @section Evaluating Emacs-Lisp Expressions @cindex Emacs-Lisp mode