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:
parent
8a76146c4c
commit
ab4db096fd
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue