From: Richard M. Stallman Date: Fri, 16 Oct 1998 18:07:03 +0000 (+0000) Subject: (shell-command-on-region): Doc fix. X-Git-Tag: emacs-20.4~1478 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8923a211e8b8c5b8136e268d86bafa3f87cba29d;p=emacs.git (shell-command-on-region): Doc fix. --- diff --git a/lisp/simple.el b/lisp/simple.el index a797263e9f5..54e91112069 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1167,11 +1167,10 @@ is encoded in the same coding system that will be used to save the file, `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 @@ If OUTPUT-BUFFER is not a buffer and not nil, 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