aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index 346dff8bdcc..141d2546f08 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2273,8 +2273,13 @@ it defines a macro. */)
2273 /* This is to make sure that loadup.el gives a clear picture 2273 /* This is to make sure that loadup.el gives a clear picture
2274 of what files are preloaded and when. */ 2274 of what files are preloaded and when. */
2275 if (will_dump_p () && !will_bootstrap_p ()) 2275 if (will_dump_p () && !will_bootstrap_p ())
2276 error ("Attempt to autoload %s while preparing to dump", 2276 {
2277 SDATA (SYMBOL_NAME (funname))); 2277 /* Avoid landing here recursively while outputting the
2278 backtrace from the error. */
2279 gflags.will_dump_ = false;
2280 error ("Attempt to autoload %s while preparing to dump",
2281 SDATA (SYMBOL_NAME (funname)));
2282 }
2278 2283
2279 CHECK_SYMBOL (funname); 2284 CHECK_SYMBOL (funname);
2280 2285