aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorRichard M. Stallman1998-10-22 01:53:38 +0000
committerRichard M. Stallman1998-10-22 01:53:38 +0000
commit6e0fca1d845a2829de2cac7b7b6fc244c15898a9 (patch)
tree8da91ffcdf9b12bffad84a849b9b71c6bc7ea2e5 /src/alloc.c
parentfadfb77f9bf1867ff7e4cb591babe87b5484fb9e (diff)
downloademacs-6e0fca1d845a2829de2cac7b7b6fc244c15898a9.tar.gz
emacs-6e0fca1d845a2829de2cac7b7b6fc244c15898a9.zip
(Fgarbage_collect): Block input around most of the function.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 0030de4842c..029f205ea32 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1730,6 +1730,8 @@ Garbage collection happens automatically if you cons more than\n\
1730 if (garbage_collection_messages) 1730 if (garbage_collection_messages)
1731 message1_nolog ("Garbage collecting..."); 1731 message1_nolog ("Garbage collecting...");
1732 1732
1733 BLOCK_INPUT;
1734
1733 shrink_regexp_cache (); 1735 shrink_regexp_cache ();
1734 1736
1735 /* Don't keep undo information around forever. */ 1737 /* Don't keep undo information around forever. */
@@ -1873,6 +1875,8 @@ Garbage collection happens automatically if you cons more than\n\
1873 XUNMARK (buffer_defaults.name); 1875 XUNMARK (buffer_defaults.name);
1874 XUNMARK (buffer_local_symbols.name); 1876 XUNMARK (buffer_local_symbols.name);
1875 1877
1878 UNBLOCK_INPUT;
1879
1876 /* clear_marks (); */ 1880 /* clear_marks (); */
1877 gc_in_progress = 0; 1881 gc_in_progress = 0;
1878 1882