changeset 23534:6f9c70db3a58

(Fgarbage_collect): Block input around most of the function.
author Richard M. Stallman <rms@gnu.org>
date Thu, 22 Oct 1998 01:53:38 +0000
parents 10a3478e3432
children 28c62eea9ae7
files src/alloc.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Thu Oct 22 01:35:03 1998 +0000
+++ b/src/alloc.c	Thu Oct 22 01:53:38 1998 +0000
@@ -1730,6 +1730,8 @@
   if (garbage_collection_messages)
     message1_nolog ("Garbage collecting...");
 
+  BLOCK_INPUT;
+
   shrink_regexp_cache ();
 
   /* Don't keep undo information around forever.  */
@@ -1873,6 +1875,8 @@
   XUNMARK (buffer_defaults.name);
   XUNMARK (buffer_local_symbols.name);
 
+  UNBLOCK_INPUT;
+
   /* clear_marks (); */
   gc_in_progress = 0;