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:
parent
a41abbf623
commit
2a7a50eaea
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue