diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/callproc.c | 5 | ||||
-rw-r--r-- | src/coding.h | 2 | ||||
-rw-r--r-- | src/process.c | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/callproc.c b/src/callproc.c index d4558387cfc..a3d09609d7b 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -237,7 +237,7 @@ DESTINATION can also have the form (REAL-BUFFER STDERR-FILE); in that case, t (mix it with ordinary output), or a file name string. Fourth arg DISPLAY non-nil means redisplay buffer as output is inserted. -Remaining arguments are strings passed as command arguments to PROGRAM. +Remaining arguments ARGS are strings passed as command arguments to PROGRAM. If executable PROGRAM can't be found as an executable, `call-process' signals a Lisp error. `call-process' reports errors in execution of @@ -1033,7 +1033,8 @@ STDERR-FILE may be nil (discard standard error output), t (mix it with ordinary output), or a file name string. Sixth arg DISPLAY non-nil means redisplay buffer as output is inserted. -Remaining args are passed to PROGRAM at startup as command args. +Remaining arguments ARGS are passed to PROGRAM at startup as command-line +arguments. If BUFFER is 0, `call-process-region' returns immediately with value nil. Otherwise it waits for PROGRAM to terminate diff --git a/src/coding.h b/src/coding.h index 337ec46315e..58e12d6176a 100644 --- a/src/coding.h +++ b/src/coding.h @@ -450,7 +450,7 @@ struct coding_system unsigned char *safe_charsets; - /* How may heading bytes we can skip for decoding. This is set to + /* How many heading bytes we can skip for decoding. This is set to -1 in setup_coding_system, and updated by detect_coding. So, when this is equal to the byte length of the text being converted, we can skip the actual conversion process except for diff --git a/src/process.c b/src/process.c index 9502ef461e8..802ac026249 100644 --- a/src/process.c +++ b/src/process.c @@ -1360,7 +1360,7 @@ If THREAD is nil, the process is unlocked. */) DEFUN ("process-thread", Fprocess_thread, Sprocess_thread, 1, 1, 0, - doc: /* Ret the locking thread of PROCESS. + doc: /* Return the locking thread of PROCESS. If PROCESS is unlocked, this function returns nil. */) (Lisp_Object process) { |