# HG changeset patch # User Richard M. Stallman # Date 744585687 0 # Node ID 9fbc6c74cab5820e6bb08ab7422181de99c88bdd # Parent ac7656a5f6e92081d52f552aaf76defc992e68ff (do_autoload): Don't report autoload failure if the autoload definition now is a different one. diff -r ac7656a5f6e9 -r 9fbc6c74cab5 src/eval.c --- a/src/eval.c Thu Aug 05 21:16:04 1993 +0000 +++ b/src/eval.c Thu Aug 05 21:21:27 1993 +0000 @@ -1415,8 +1415,7 @@ fun = Findirect_function (fun); - if (XTYPE (fun) == Lisp_Cons - && EQ (XCONS (fun)->car, Qautoload)) + if (!NILP (Fequal (fun, fundef))) error ("Autoloading failed to define function %s", XSYMBOL (funname)->name->data); }