aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index 7a3a923e0da..cbd73a76d0c 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1415,8 +1415,7 @@ do_autoload (fundef, funname)
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}