changeset 16718:ea26040865cb

(send_process) [EMACS_HAS_USECS]: When we wait for the buffer to clear, wait just .02 second.
author Richard M. Stallman <rms@gnu.org>
date Wed, 18 Dec 1996 16:37:52 +0000
parents 18d451689307
children 0bbc2e3d4bd7
files src/process.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Wed Dec 18 16:32:43 1996 +0000
+++ b/src/process.c	Wed Dec 18 16:37:52 1996 +0000
@@ -2781,7 +2781,11 @@
 		      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);