emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 1ffa65c: Mention `call-process-region' in the `call


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 1ffa65c: Mention `call-process-region' in the `call-process' doc string
Date: Tue, 9 Jul 2019 12:00:58 -0400 (EDT)

branch: master
commit 1ffa65cea5a967cbf5e2c1b80ccb7cacb758e7a8
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Mention `call-process-region' in the `call-process' doc string
    
    * src/callproc.c (Fcall_process): Mention `call-process-region'
    (bug#35187).
---
 src/callproc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/callproc.c b/src/callproc.c
index 2596f90..3c77238 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,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]