Mercurial > emacs
changeset 23471:b6dbbd2cc3ac
(shell-command-on-region): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 16 Oct 1998 18:07:03 +0000 |
parents | 4fcf4387fb9f |
children | d75fa19c5fc0 |
files | lisp/simple.el |
diffstat | 1 files changed, 9 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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