diff options
| author | Karl Heuer | 1995-05-24 01:39:24 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-05-24 01:39:24 +0000 |
| commit | 58595309d2ce3c8fe67a6353390146940e8f2009 (patch) | |
| tree | f59d957220ec0928cc803682337c89e8d0e74803 /src/alloc.c | |
| parent | 82a74107638f35cca4bbcea79f46daed8067a052 (diff) | |
| download | emacs-58595309d2ce3c8fe67a6353390146940e8f2009.tar.gz emacs-58595309d2ce3c8fe67a6353390146940e8f2009.zip | |
(Fgarbage_collect): Clear consing_since_gc first thing.
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)) |