1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00

(read_char): Use gc_cons_combined_threshold.

This commit is contained in:
Stefan Monnier 2005-07-13 05:30:56 +00:00
parent a41abbf623
commit 2a7a50eaea

View 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 ();