comparison src/keyboard.c @ 64270:291a233cbda9

(read_char): Use gc_cons_combined_threshold.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 13 Jul 2005 05:30:56 +0000
parents 9e2bb087ae33
children 482ea9d640ec fbb2bea03df9
comparison
equal deleted inserted replaced
64269:2b2ad7fa1865 64270:291a233cbda9
2776 2776
2777 /* If we have auto-saved and there is still no input 2777 /* If we have auto-saved and there is still no input
2778 available, garbage collect if there has been enough 2778 available, garbage collect if there has been enough
2779 consing going on to make it worthwhile. */ 2779 consing going on to make it worthwhile. */
2780 if (!detect_input_pending_run_timers (0) 2780 if (!detect_input_pending_run_timers (0)
2781 && consing_since_gc > gc_cons_threshold / 2) 2781 && consing_since_gc > gc_cons_combined_threshold / 2)
2782 Fgarbage_collect (); 2782 Fgarbage_collect ();
2783 2783
2784 redisplay (); 2784 redisplay ();
2785 } 2785 }
2786 } 2786 }