1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00

(do_autoload): Error if called while preparing to dump.

This commit is contained in:
Richard M. Stallman 2002-04-30 17:46:26 +00:00
parent 8a76146c4c
commit ab4db096fd

View file

@ -1906,6 +1906,10 @@ do_autoload (fundef, funname)
Lisp_Object fun, queue, first, second;
struct gcpro gcpro1, gcpro2, gcpro3;
if (! NILP (Vpurify_flag))
error ("Attempt to autoload %s while preparing to dump",
XSYMBOL (funname)->name->data);
fun = funname;
CHECK_SYMBOL (funname);
GCPRO3 (fun, funname, fundef);