projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86bec41
)
Improve autoload error reporting
author
Alexander Gramiak
<agrambot@gmail.com>
Fri, 4 Nov 2016 08:41:21 +0000
(10:41 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 4 Nov 2016 08:41:21 +0000
(10:41 +0200)
* src/eval.c (Fautoload_do_load): Include the absolute file name
in the error message.
src/eval.c
patch
|
blob
|
history
diff --git
a/src/eval.c
b/src/eval.c
index a9bad2491fae6885ef0b0485c10bc05e979038c0..caeb791c19bd891ffd3bd93c565985e19a8c5a27 100644
(file)
--- a/
src/eval.c
+++ b/
src/eval.c
@@
-1988,7
+1988,8
@@
it defines a macro. */)
Lisp_Object fun = Findirect_function (funname, Qnil);
if (!NILP (Fequal (fun, fundef)))
- error ("Autoloading failed to define function %s",
+ error ("Autoloading file %s failed to define function %s",
+ SDATA (Fcar (Fcar (Vload_history))),
SDATA (SYMBOL_NAME (funname)));
else
return fun;