]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_char): Use gc_cons_combined_threshold.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 13 Jul 2005 05:30:56 +0000 (05:30 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 13 Jul 2005 05:30:56 +0000 (05:30 +0000)
src/keyboard.c

index e0db002ea945f3aefb1fecabffc910dd364da175..b854d423cd179253ce71da39bfe3c04406e6b1d4 100644 (file)
@@ -2778,7 +2778,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
                 available, garbage collect if there has been enough
                 consing going on to make it worthwhile.  */
              if (!detect_input_pending_run_timers (0)
-                 && consing_since_gc > gc_cons_threshold / 2)
+                 && consing_since_gc > gc_cons_combined_threshold / 2)
                Fgarbage_collect ();
 
              redisplay ();