From: Richard M. Stallman Date: Tue, 27 May 1997 04:59:47 +0000 (+0000) Subject: (command_loop_1): Pass 1 as new arg to sit_for. X-Git-Tag: emacs-20.1~1979 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=413650839b152ae4b08f888e92de7ba407113e76;p=emacs.git (command_loop_1): Pass 1 as new arg to sit_for. (read_char): Likewise, pass 0 for it. --- diff --git a/src/keyboard.c b/src/keyboard.c index 61c4f4a3ad7..1953dfe82e9 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1110,7 +1110,7 @@ command_loop_1 () { if (NILP (Vunread_command_events) && NILP (Vexecuting_macro) - && !NILP (sit_for (0, post_command_idle_delay, 0, 1))) + && !NILP (sit_for (0, post_command_idle_delay, 0, 1, 1))) safe_run_hooks (Qpost_command_idle_hook); } @@ -1438,7 +1438,7 @@ command_loop_1 () { if (NILP (Vunread_command_events) && NILP (Vexecuting_macro) - && !NILP (sit_for (0, post_command_idle_delay, 0, 1))) + && !NILP (sit_for (0, post_command_idle_delay, 0, 1, 1))) safe_run_hooks (Qpost_command_idle_hook); } @@ -1883,7 +1883,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) { save_getcjmp (save_jump); restore_getcjmp (local_getcjmp); - tem0 = sit_for (echo_keystrokes, 0, 1, 1); + tem0 = sit_for (echo_keystrokes, 0, 1, 1, 0); restore_getcjmp (save_jump); if (EQ (tem0, Qt)) echo_now (); @@ -1952,7 +1952,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) save_getcjmp (save_jump); restore_getcjmp (local_getcjmp); tem0 = sit_for (delay_level * XFASTINT (Vauto_save_timeout) / 4, - 0, 1, 1); + 0, 1, 1, 0); restore_getcjmp (save_jump); if (EQ (tem0, Qt))