diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c index 063af1e19cb..e2fdedde796 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -1352,6 +1352,10 @@ Garbage collection happens automatically if you cons more than\n\ | |||
| 1352 | char stack_top_variable; | 1352 | char stack_top_variable; |
| 1353 | register int i; | 1353 | register int i; |
| 1354 | 1354 | ||
| 1355 | /* In case user calls debug_print during GC, | ||
| 1356 | don't let that cause a recursive GC. */ | ||
| 1357 | consing_since_gc = 0; | ||
| 1358 | |||
| 1355 | /* Save a copy of the contents of the stack, for debugging. */ | 1359 | /* Save a copy of the contents of the stack, for debugging. */ |
| 1356 | #if MAX_SAVE_STACK > 0 | 1360 | #if MAX_SAVE_STACK > 0 |
| 1357 | if (NILP (Vpurify_flag)) | 1361 | if (NILP (Vpurify_flag)) |