aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index dd2e5f4b6ad..e04f60baf03 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4827,9 +4827,8 @@ int
4827inhibit_garbage_collection (void) 4827inhibit_garbage_collection (void)
4828{ 4828{
4829 int count = SPECPDL_INDEX (); 4829 int count = SPECPDL_INDEX ();
4830 int nbits = min (VALBITS, BITS_PER_INT);
4831 4830
4832 specbind (Qgc_cons_threshold, make_number (((EMACS_INT) 1 << (nbits - 1)) - 1)); 4831 specbind (Qgc_cons_threshold, make_number (MOST_POSITIVE_FIXNUM));
4833 return count; 4832 return count;
4834} 4833}
4835 4834