# HG changeset patch # User Richard M. Stallman # Date 908561223 0 # Node ID b6dbbd2cc3acb09c276fec7522b844fa00650f85 # Parent 4fcf4387fb9fa60d76b01ad8a3509027ccea3168 (shell-command-on-region): Doc fix. diff -r 4fcf4387fb9f -r b6dbbd2cc3ac lisp/simple.el --- a/lisp/simple.el Thu Oct 15 17:48:52 1998 +0000 +++ b/lisp/simple.el Fri Oct 16 18:07:03 1998 +0000 @@ -1167,11 +1167,10 @@ `buffer-file-coding-system'. If the output is going to replace the region, then it is decoded from that same coding system. -The noninteractive arguments are START, END, COMMAND, OUTPUT-BUFFER, REPLACE, -ERROR-BUFFER. If REPLACE is non-nil, that means insert the output -in place of text from START to END, putting point and mark around it. -Noninteractive callers can specify coding systems by binding -`coding-system-for-read' and `coding-system-for-write'. +The noninteractive arguments are START, END, COMMAND, OUTPUT-BUFFER, +REPLACE, ERROR-BUFFER. Noninteractive callers can specify coding +systems by binding `coding-system-for-read' and +`coding-system-for-write'. If the output is one line, it is displayed in the echo area, but it is nonetheless available in buffer `*Shell Command Output*' @@ -1186,7 +1185,11 @@ insert output in the current buffer. In either case, the output is inserted after point (leaving mark after it). -If optional fifth argument ERROR-BUFFER is non-nil, it is a buffer +If REPLACE, the optional fifth argument, is non-nil, that means insert +the output in place of text from START to END, putting point and mark +around it. + +If optional fifth sixth ERROR-BUFFER is non-nil, it is a buffer or buffer name to which to direct the command's standard error output. If it is nil, error output is mingled with regular output." (interactive (let ((string