From: Lars Ingebrigtsen Date: Tue, 9 Jul 2019 15:59:37 +0000 (+0200) Subject: Mention `call-process-region' in the `call-process' doc string X-Git-Tag: emacs-27.0.90~2034^2~15 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1ffa65cea5a967cbf5e2c1b80ccb7cacb758e7a8;p=emacs.git Mention `call-process-region' in the `call-process' doc string * src/callproc.c (Fcall_process): Mention `call-process-region' (bug#35187). --- 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; DEFUN ("call-process", Fcall_process, Scall_process, 1, MANY, 0, doc: /* Call PROGRAM synchronously in separate process. The remaining arguments are optional. + The program's input comes from file INFILE (nil means `/dev/null'). +If you want to make the input come from an Emacs buffer, use +`call-process-region' instead. Third argument DESTINATION specifies how to handle program's output. If DESTINATION is a buffer, or t that stands for the current buffer,