comparison 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
comparison
equal deleted inserted replaced
4461:ac7656a5f6e9 4462:9fbc6c74cab5
1413 Vautoload_queue = Qt; 1413 Vautoload_queue = Qt;
1414 unbind_to (count, Qnil); 1414 unbind_to (count, Qnil);
1415 1415
1416 fun = Findirect_function (fun); 1416 fun = Findirect_function (fun);
1417 1417
1418 if (XTYPE (fun) == Lisp_Cons 1418 if (!NILP (Fequal (fun, fundef)))
1419 && EQ (XCONS (fun)->car, Qautoload))
1420 error ("Autoloading failed to define function %s", 1419 error ("Autoloading failed to define function %s",
1421 XSYMBOL (funname)->name->data); 1420 XSYMBOL (funname)->name->data);
1422 } 1421 }
1423 1422
1424 DEFUN ("eval", Feval, Seval, 1, 1, 0, 1423 DEFUN ("eval", Feval, Seval, 1, 1, 0,