From: Richard M. Stallman Date: Wed, 18 Dec 1996 16:37:52 +0000 (+0000) Subject: (send_process) [EMACS_HAS_USECS]: X-Git-Tag: emacs-20.1~3226 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3e6605c82eb175b7f535920b90df9535a6cb15f;p=emacs.git (send_process) [EMACS_HAS_USECS]: When we wait for the buffer to clear, wait just .02 second. --- diff --git a/src/process.c b/src/process.c index e902cc7b519..5d2f7133341 100644 --- a/src/process.c +++ b/src/process.c @@ -2781,7 +2781,11 @@ send_process (proc, buf, len, object) offset = buf - (char *) XSTRING (object)->data; XSETFASTINT (zero, 0); +#ifdef EMACS_HAS_USECS + wait_reading_process_input (0, 20000, zero, 0); +#else wait_reading_process_input (1, 0, zero, 0); +#endif if (BUFFERP (object)) buf = (char *) BUF_CHAR_ADDRESS (XBUFFER (object), offset);