changeset 45036:184909bcbc7b

(do_autoload): Error if called while preparing to dump.
author Richard M. Stallman <rms@gnu.org>
date Tue, 30 Apr 2002 17:46:26 +0000
parents d38dacfdef66
children 8fe017cea042
files src/eval.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c	Tue Apr 30 17:46:15 2002 +0000
+++ b/src/eval.c	Tue Apr 30 17:46:26 2002 +0000
@@ -1906,6 +1906,10 @@
   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);