changeset 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 ac7656a5f6e9
children 2a1f8e922ec8
files src/eval.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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);
 }