From f3e6605c82eb175b7f535920b90df9535a6cb15f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 18 Dec 1996 16:37:52 +0000 Subject: [PATCH] (send_process) [EMACS_HAS_USECS]: When we wait for the buffer to clear, wait just .02 second. --- src/process.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5