From 283357a76d2f44c6899ea0456d5b8b97ece2055e Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Fri, 17 Sep 2010 17:47:49 +0200 Subject: [PATCH] * process.c (wait_reading_process_output): Don't message about accept-process-output unless the time limit really is zero. --- src/ChangeLog | 5 +++++ src/process.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 2074205d38a..282394e1414 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-09-17 Lars Magne Ingebrigtsen + + * process.c (wait_reading_process_output): Don't message about + accept-process-output unless the time limit really is zero. + 2010-09-17 Stefan Monnier * frame.c (Ftool_bar_pixel_width): YAILOM (Yet another diff --git a/src/process.c b/src/process.c index f348dca7d35..ec1b9586db5 100644 --- a/src/process.c +++ b/src/process.c @@ -4403,7 +4403,7 @@ wait_reading_process_output (int time_limit, int microsecs, int read_kbd, FD_ZERO (&Connecting); #endif - if (time_limit == 0 && wait_proc && !NILP (Vinhibit_quit) + if (time_limit == 0 && microsecs == 0 && wait_proc && !NILP (Vinhibit_quit) && !(CONSP (wait_proc->status) && EQ (XCAR (wait_proc->status), Qexit))) message ("Blocking call to accept-process-output with quit inhibited!!"); -- 2.39.2