diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/process.c b/src/process.c index 34045b4977a..e9b12b1f2dc 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4607,8 +4607,8 @@ DEFUN ("accept-process-output", Faccept_process_output, Saccept_process_output, | |||
| 4607 | 0, 4, 0, | 4607 | 0, 4, 0, |
| 4608 | doc: /* Allow any pending output from subprocesses to be read by Emacs. | 4608 | doc: /* Allow any pending output from subprocesses to be read by Emacs. |
| 4609 | It is given to their filter functions. | 4609 | It is given to their filter functions. |
| 4610 | Optional argument PROCESS means do not return until output has been | 4610 | Optional argument PROCESS means to return only after output is |
| 4611 | received from PROCESS. | 4611 | received from PROCESS or PROCESS closes the connection. |
| 4612 | 4612 | ||
| 4613 | Optional second argument SECONDS and third argument MILLISEC | 4613 | Optional second argument SECONDS and third argument MILLISEC |
| 4614 | specify a timeout; return after that much time even if there is | 4614 | specify a timeout; return after that much time even if there is |
| @@ -4620,7 +4620,8 @@ If optional fourth argument JUST-THIS-ONE is non-nil, accept output | |||
| 4620 | from PROCESS only, suspending reading output from other processes. | 4620 | from PROCESS only, suspending reading output from other processes. |
| 4621 | If JUST-THIS-ONE is an integer, don't run any timers either. | 4621 | If JUST-THIS-ONE is an integer, don't run any timers either. |
| 4622 | Return non-nil if we received any output from PROCESS (or, if PROCESS | 4622 | Return non-nil if we received any output from PROCESS (or, if PROCESS |
| 4623 | is nil, from any process) before the timeout expired. */) | 4623 | is nil, from any process) before the timeout expired or the |
| 4624 | corresponding connection was closed. */) | ||
| 4624 | (Lisp_Object process, Lisp_Object seconds, Lisp_Object millisec, | 4625 | (Lisp_Object process, Lisp_Object seconds, Lisp_Object millisec, |
| 4625 | Lisp_Object just_this_one) | 4626 | Lisp_Object just_this_one) |
| 4626 | { | 4627 | { |
| @@ -6463,9 +6464,11 @@ DEFUN ("process-send-region", Fprocess_send_region, Sprocess_send_region, | |||
| 6463 | PROCESS may be a process, a buffer, the name of a process or buffer, or | 6464 | PROCESS may be a process, a buffer, the name of a process or buffer, or |
| 6464 | nil, indicating the current buffer's process. | 6465 | nil, indicating the current buffer's process. |
| 6465 | Called from program, takes three arguments, PROCESS, START and END. | 6466 | Called from program, takes three arguments, PROCESS, START and END. |
| 6466 | If the region is more than 500 characters long, | 6467 | If the region is larger than the input buffer of the process (the |
| 6467 | it is sent in several bunches. This may happen even for shorter regions. | 6468 | length of which depends on the process connection type and the |
| 6468 | Output from processes can arrive in between bunches. | 6469 | operating system), it is sent in several bunches. This may happen |
| 6470 | even for shorter regions. Output from processes can arrive in between | ||
| 6471 | bunches. | ||
| 6469 | 6472 | ||
| 6470 | If PROCESS is a non-blocking network process that hasn't been fully | 6473 | If PROCESS is a non-blocking network process that hasn't been fully |
| 6471 | set up yet, this function will block until socket setup has completed. */) | 6474 | set up yet, this function will block until socket setup has completed. */) |
| @@ -6496,9 +6499,10 @@ DEFUN ("process-send-string", Fprocess_send_string, Sprocess_send_string, | |||
| 6496 | doc: /* Send PROCESS the contents of STRING as input. | 6499 | doc: /* Send PROCESS the contents of STRING as input. |
| 6497 | PROCESS may be a process, a buffer, the name of a process or buffer, or | 6500 | PROCESS may be a process, a buffer, the name of a process or buffer, or |
| 6498 | nil, indicating the current buffer's process. | 6501 | nil, indicating the current buffer's process. |
| 6499 | If STRING is more than 500 characters long, | 6502 | If STRING is larger than the input buffer of the process (the length |
| 6500 | it is sent in several bunches. This may happen even for shorter strings. | 6503 | of which depends on the process connection type and the operating |
| 6501 | Output from processes can arrive in between bunches. | 6504 | system), it is sent in several bunches. This may happen even for |
| 6505 | shorter strings. Output from processes can arrive in between bunches. | ||
| 6502 | 6506 | ||
| 6503 | If PROCESS is a non-blocking network process that hasn't been fully | 6507 | If PROCESS is a non-blocking network process that hasn't been fully |
| 6504 | set up yet, this function will block until socket setup has completed. */) | 6508 | set up yet, this function will block until socket setup has completed. */) |