Commit 6e103bac authored by Richard M. Stallman's avatar Richard M. Stallman

(wait_reading_process_input): Call swallow_events.

parent 8b87a301
......@@ -1875,7 +1875,11 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
to give it higher priority than subprocesses */
if (XINT (read_kbd) && detect_input_pending ())
break;
{
swallow_events ();
if (detect_input_pending ())
break;
}
/* Exit now if the cell we're waiting for became non-nil. */
if (wait_for_cell && ! NILP (*wait_for_cell))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment