aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index ebd99b9f65b..4c76f4a554e 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5987,11 +5987,13 @@ garbage_collect (void)
5987 5987
5988 gc_in_progress = 0; 5988 gc_in_progress = 0;
5989 5989
5990 unblock_input ();
5991
5992 consing_until_gc = gc_threshold 5990 consing_until_gc = gc_threshold
5993 = consing_threshold (gc_cons_threshold, Vgc_cons_percentage, 0); 5991 = consing_threshold (gc_cons_threshold, Vgc_cons_percentage, 0);
5994 5992
5993 /* Unblock *after* re-setting `consing_until_gc` in case `unblock_input`
5994 signals an error (see bug#43389). */
5995 unblock_input ();
5996
5995 if (garbage_collection_messages && NILP (Vmemory_full)) 5997 if (garbage_collection_messages && NILP (Vmemory_full))
5996 { 5998 {
5997 if (message_p || minibuf_level > 0) 5999 if (message_p || minibuf_level > 0)