Mercurial > emacs
diff src/alloc.c @ 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 | f7d2bdefcff7 |
| children | 7094b74ce0a6 |
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;
