Commit 58595309 authored by Karl Heuer's avatar Karl Heuer

(Fgarbage_collect): Clear consing_since_gc first thing.

parent 82a74107
......@@ -1352,6 +1352,10 @@ Garbage collection happens automatically if you cons more than\n\
char stack_top_variable;
register int i;
/* In case user calls debug_print during GC,
don't let that cause a recursive GC. */
consing_since_gc = 0;
/* Save a copy of the contents of the stack, for debugging. */
#if MAX_SAVE_STACK > 0
if (NILP (Vpurify_flag))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment