emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: while-no-input interrupted by *shell*


From: Eli Zaretskii
Subject: Re: while-no-input interrupted by *shell*
Date: Mon, 24 Sep 2018 21:48:51 +0300

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden
> Date: Mon, 24 Sep 2018 14:35:50 -0400
> 
> I thought accept-process-output waits for subprocess output and sit-for
> waits for input events (and we don't have any direct fonction to wait for both
> at the same time).

The commentary to wait_reading_process_output tells a different story:

   Return positive if we received input from WAIT_PROC (or from any
   process if WAIT_PROC is null), zero if we attempted to receive
   input but got none, and negative if we didn't even try.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]