(send_process) [EMACS_HAS_USECS]:
When we wait for the buffer to clear, wait just .02 second.
This commit is contained in:
parent
06720de20e
commit
f3e6605c82
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue