aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-07-09 17:59:37 +0200
committerLars Ingebrigtsen2019-07-09 18:00:52 +0200
commit1ffa65cea5a967cbf5e2c1b80ccb7cacb758e7a8 (patch)
tree65bfdccc45313932bd101e36b43f72dc8c287620 /src
parentec723406476c818ab8f1da926e70668e36206289 (diff)
downloademacs-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.c3
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;
219DEFUN ("call-process", Fcall_process, Scall_process, 1, MANY, 0, 219DEFUN ("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.
221The remaining arguments are optional. 221The remaining arguments are optional.
222
222The program's input comes from file INFILE (nil means `/dev/null'). 223The program's input comes from file INFILE (nil means `/dev/null').
224If you want to make the input come from an Emacs buffer, use
225`call-process-region' instead.
223 226
224Third argument DESTINATION specifies how to handle program's output. 227Third argument DESTINATION specifies how to handle program's output.
225If DESTINATION is a buffer, or t that stands for the current buffer, 228If DESTINATION is a buffer, or t that stands for the current buffer,