Mercurial > emacs
diff src/eval.c @ 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 | 857c2abe3324 |
| children | ed0ad59e4ec7 |
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);
