From 4abca5e732f5ced73067608efda6a4032ec8765f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 3 Apr 1996 19:30:03 +0000 Subject: [PATCH] (wait_reading_process_input): Don't call wait_reading_process_input_1 if time_limit is -1. --- src/process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index fda6e5e773e..81443094818 100644 --- a/src/process.c +++ b/src/process.c @@ -2108,7 +2108,8 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) timeout_reduced_for_timers = 1; } } - else + /* If time_limit is -1, we are not going to wait at all. */ + else if (time_limit != -1) { /* This is so a breakpoint can be put here. */ wait_reading_process_input_1 (); -- 2.39.2