diff src/eval.c @ 4462:9fbc6c74cab5

(do_autoload): Don't report autoload failure if the autoload definition now is a different one.
author Richard M. Stallman <rms@gnu.org>
date Thu, 05 Aug 1993 21:21:27 +0000
parents f037b1f51320
children 23d5b09bd218
line wrap: on
line diff
--- 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);
 }