Mercurial > hg > xemacs-beta
changeset 837:0490271de7d8
[xemacs-hg @ 2002-05-14 05:30:30 by adrian]
[PATCH] xemacs-21.5: Process-related docstring improvements spurred by Norbert Koch <vg9ryfer.fsf@smtprelay.t-online.de>
author | adrian |
---|---|
date | Tue, 14 May 2002 05:30:36 +0000 |
parents | 8f668d99fea6 |
children | bf645ed7cfe3 |
files | lisp/ChangeLog lisp/code-process.el src/ChangeLog src/callproc.c |
diffstat | 4 files changed, 22 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat May 11 18:19:18 2002 +0000 +++ b/lisp/ChangeLog Tue May 14 05:30:36 2002 +0000 @@ -1,3 +1,10 @@ +2002-05-13 Adrian Aichner <adrian@xemacs.org> + + * code-process.el (call-process): Process-related docstring + improvements spurred by Norbert Koch. + * code-process.el (call-process-region): Ditto. + * code-process.el (start-process): Ditto. + 2002-05-09 Ben Wing <ben@xemacs.org> * keydefs.el (global-map): New.
--- a/lisp/code-process.el Sat May 11 18:19:18 2002 +0000 +++ b/lisp/code-process.el Tue May 14 05:30:36 2002 +0000 @@ -47,6 +47,8 @@ The program's input comes from file INFILE (nil means `/dev/null'). Insert output in BUFFER before point; t means current buffer; nil for BUFFER means discard it; 0 means discard and don't wait. +If BUFFER is a string, then find or create a buffer with that name, +then insert the output in that buffer, before point. BUFFER can also have the form (REAL-BUFFER STDERR-FILE); in that case, REAL-BUFFER says what to do with standard output, as above, while STDERR-FILE says what to do with standard error in the child. @@ -92,6 +94,8 @@ Insert output in BUFFER before point; t means current buffer; nil for BUFFER means discard it; 0 means discard and don't wait. +If BUFFER is a string, then find or create a buffer with that name, +then insert the output in that buffer, before point. BUFFER can also have the form (REAL-BUFFER STDERR-FILE); in that case, REAL-BUFFER says what to do with standard output, as above, while STDERR-FILE says what to do with standard error in the child. @@ -145,10 +149,10 @@ Args are NAME BUFFER PROGRAM &rest PROGRAM-ARGS NAME is name for process. It is modified if necessary to make it unique. BUFFER is the buffer or (buffer-name) to associate with the process. - Process output goes at end of that buffer, unless you specify - an output stream or filter function to handle the output. - BUFFER may be also nil, meaning that this process is not associated - with any buffer +Process output goes at end of that buffer, unless you specify +an output stream or filter function to handle the output. +BUFFER may also be nil, meaning that this process is not associated +with any buffer. Third arg is program file name. It is searched for as in the shell. Remaining arguments are strings to give program as arguments. INCODE and OUTCODE specify the coding-system objects used in input/output
--- a/src/ChangeLog Sat May 11 18:19:18 2002 +0000 +++ b/src/ChangeLog Tue May 14 05:30:36 2002 +0000 @@ -1,3 +1,8 @@ +2002-05-13 Adrian Aichner <adrian@xemacs.org> + + * callproc.c: Process-related docstring improvements spurred by + Norbert Koch. + 2002-05-09 Ben Wing <ben@xemacs.org> * doprnt.c (emacs_doprnt_1):
--- a/src/callproc.c Sat May 11 18:19:18 2002 +0000 +++ b/src/callproc.c Tue May 14 05:30:36 2002 +0000 @@ -116,6 +116,8 @@ The program's input comes from file INFILE (nil means `/dev/null'). Insert output in BUFFER before point; t means current buffer; nil for BUFFER means discard it; 0 means discard and don't wait. +If BUFFER is a string, then find or create a buffer with that name, +then insert the output in that buffer, before point. BUFFER can also have the form (REAL-BUFFER STDERR-FILE); in that case, REAL-BUFFER says what to do with standard output, as above, while STDERR-FILE says what to do with standard error in the child.