aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorYuuki Harano2021-01-30 23:37:19 +0900
committerYuuki Harano2021-01-30 23:37:19 +0900
commit50c76b844bc79309b4f5d9e28a2386b9a6f735b7 (patch)
tree29f8273d8afccae1f16b723c36548cee150cb0bc /src/alloc.c
parent563a0d94c379292bd88e83f18560ed21c497cea9 (diff)
parent96f20120c97a0a329fff81a0cc3747082a8a2c55 (diff)
downloademacs-50c76b844bc79309b4f5d9e28a2386b9a6f735b7.tar.gz
emacs-50c76b844bc79309b4f5d9e28a2386b9a6f735b7.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
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 a3900dbd93c..1763a795ab8 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6104,11 +6104,13 @@ garbage_collect (void)
6104 6104
6105 gc_in_progress = 0; 6105 gc_in_progress = 0;
6106 6106
6107 unblock_input ();
6108
6109 consing_until_gc = gc_threshold 6107 consing_until_gc = gc_threshold
6110 = consing_threshold (gc_cons_threshold, Vgc_cons_percentage, 0); 6108 = consing_threshold (gc_cons_threshold, Vgc_cons_percentage, 0);
6111 6109
6110 /* Unblock *after* re-setting `consing_until_gc` in case `unblock_input`
6111 signals an error (see bug#43389). */
6112 unblock_input ();
6113
6112 if (garbage_collection_messages && NILP (Vmemory_full)) 6114 if (garbage_collection_messages && NILP (Vmemory_full))
6113 { 6115 {
6114 if (message_p || minibuf_level > 0) 6116 if (message_p || minibuf_level > 0)