diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-12-18 16:37:52 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-12-18 16:37:52 +0000 |
commit | f3e6605c82eb175b7f535920b90df9535a6cb15f (patch) | |
tree | 406bfa6afee3cec2d845af2149fa6fb8f8f66c4c | |
parent | 06720de20e40bd1d6e5e334004639dfbc4195a04 (diff) | |
download | emacs-f3e6605c82eb175b7f535920b90df9535a6cb15f.tar.gz emacs-f3e6605c82eb175b7f535920b90df9535a6cb15f.tar.bz2 emacs-f3e6605c82eb175b7f535920b90df9535a6cb15f.zip |
(send_process) [EMACS_HAS_USECS]:
When we wait for the buffer to clear, wait just .02 second.
-rw-r--r-- | src/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |