Commit 76c2b0cc authored by Richard M. Stallman's avatar Richard M. Stallman

(do_autoload): Don't report autoload failure

if the autoload definition now is a different one.
parent d5aac16a
......@@ -1415,8 +1415,7 @@ do_autoload (fundef, funname)
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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment