# HG changeset patch # User adrian # Date 1021354236 0 # Node ID 0490271de7d8938f78aa2d4c6cc0978b086ebb4f # Parent 8f668d99fea62c9821c58cfe88efb73ebe22248c [xemacs-hg @ 2002-05-14 05:30:30 by adrian] [PATCH] xemacs-21.5: Process-related docstring improvements spurred by Norbert Koch diff -r 8f668d99fea6 -r 0490271de7d8 lisp/ChangeLog --- 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 + + * 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 * keydefs.el (global-map): New. diff -r 8f668d99fea6 -r 0490271de7d8 lisp/code-process.el --- 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 diff -r 8f668d99fea6 -r 0490271de7d8 src/ChangeLog --- 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 + + * callproc.c: Process-related docstring improvements spurred by + Norbert Koch. + 2002-05-09 Ben Wing * doprnt.c (emacs_doprnt_1): diff -r 8f668d99fea6 -r 0490271de7d8 src/callproc.c --- 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.