summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-03 19:30:03 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-03 19:30:03 +0000
commit4a677e0d48d5f81b09257c734ab0bec5031d875d (patch)
treee046d4efe7c9cc0a08c66199fd30bf7f88a97866 /src
parent1cc97cc3f737451e99630b4ecaf6f5c93d896ce4 (diff)
downloademacs-4a677e0d48d5f81b09257c734ab0bec5031d875d.tar.gz
(wait_reading_process_input): Don't call
wait_reading_process_input_1 if time_limit is -1.
Diffstat (limited to 'src')
-rw-r--r--src/process.c3
1 files changed, 2 insertions, 1 deletions
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 ();