diff options
| author | Lars Ingebrigtsen | 2019-07-09 17:59:37 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-07-09 18:00:52 +0200 |
| commit | 1ffa65cea5a967cbf5e2c1b80ccb7cacb758e7a8 (patch) | |
| tree | 65bfdccc45313932bd101e36b43f72dc8c287620 /src | |
| parent | ec723406476c818ab8f1da926e70668e36206289 (diff) | |
| download | emacs-1ffa65cea5a967cbf5e2c1b80ccb7cacb758e7a8.tar.gz emacs-1ffa65cea5a967cbf5e2c1b80ccb7cacb758e7a8.zip | |
Mention `call-process-region' in the `call-process' doc string
* src/callproc.c (Fcall_process): Mention `call-process-region'
(bug#35187).
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index 2596f9019e4..3c77238cfb6 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -219,7 +219,10 @@ static mode_t const default_output_mode = 0666; | |||
| 219 | DEFUN ("call-process", Fcall_process, Scall_process, 1, MANY, 0, | 219 | DEFUN ("call-process", Fcall_process, Scall_process, 1, MANY, 0, |
| 220 | doc: /* Call PROGRAM synchronously in separate process. | 220 | doc: /* Call PROGRAM synchronously in separate process. |
| 221 | The remaining arguments are optional. | 221 | The remaining arguments are optional. |
| 222 | |||
| 222 | The program's input comes from file INFILE (nil means `/dev/null'). | 223 | The program's input comes from file INFILE (nil means `/dev/null'). |
| 224 | If you want to make the input come from an Emacs buffer, use | ||
| 225 | `call-process-region' instead. | ||
| 223 | 226 | ||
| 224 | Third argument DESTINATION specifies how to handle program's output. | 227 | Third argument DESTINATION specifies how to handle program's output. |
| 225 | If DESTINATION is a buffer, or t that stands for the current buffer, | 228 | If DESTINATION is a buffer, or t that stands for the current buffer, |