diff options
| author | Richard M. Stallman | 1998-10-16 18:07:03 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-10-16 18:07:03 +0000 |
| commit | 8923a211e8b8c5b8136e268d86bafa3f87cba29d (patch) | |
| tree | b149214ea78e5017fb135c4cb31d68c5bcd207a2 | |
| parent | 1c6724b4b7fcd4796f3e7584cb68158758e663fe (diff) | |
| download | emacs-8923a211e8b8c5b8136e268d86bafa3f87cba29d.tar.gz emacs-8923a211e8b8c5b8136e268d86bafa3f87cba29d.zip | |
(shell-command-on-region): Doc fix.
| -rw-r--r-- | lisp/simple.el | 15 |
1 files changed, 9 insertions, 6 deletions
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, | |||
| 1167 | `buffer-file-coding-system'. If the output is going to replace the region, | 1167 | `buffer-file-coding-system'. If the output is going to replace the region, |
| 1168 | then it is decoded from that same coding system. | 1168 | then it is decoded from that same coding system. |
| 1169 | 1169 | ||
| 1170 | The noninteractive arguments are START, END, COMMAND, OUTPUT-BUFFER, REPLACE, | 1170 | The noninteractive arguments are START, END, COMMAND, OUTPUT-BUFFER, |
| 1171 | ERROR-BUFFER. If REPLACE is non-nil, that means insert the output | 1171 | REPLACE, ERROR-BUFFER. Noninteractive callers can specify coding |
| 1172 | in place of text from START to END, putting point and mark around it. | 1172 | systems by binding `coding-system-for-read' and |
| 1173 | Noninteractive callers can specify coding systems by binding | 1173 | `coding-system-for-write'. |
| 1174 | `coding-system-for-read' and `coding-system-for-write'. | ||
| 1175 | 1174 | ||
| 1176 | If the output is one line, it is displayed in the echo area, | 1175 | If the output is one line, it is displayed in the echo area, |
| 1177 | but it is nonetheless available in buffer `*Shell Command Output*' | 1176 | but it is nonetheless available in buffer `*Shell Command Output*' |
| @@ -1186,7 +1185,11 @@ If OUTPUT-BUFFER is not a buffer and not nil, | |||
| 1186 | insert output in the current buffer. | 1185 | insert output in the current buffer. |
| 1187 | In either case, the output is inserted after point (leaving mark after it). | 1186 | In either case, the output is inserted after point (leaving mark after it). |
| 1188 | 1187 | ||
| 1189 | If optional fifth argument ERROR-BUFFER is non-nil, it is a buffer | 1188 | If REPLACE, the optional fifth argument, is non-nil, that means insert |
| 1189 | the output in place of text from START to END, putting point and mark | ||
| 1190 | around it. | ||
| 1191 | |||
| 1192 | If optional fifth sixth ERROR-BUFFER is non-nil, it is a buffer | ||
| 1190 | or buffer name to which to direct the command's standard error output. | 1193 | or buffer name to which to direct the command's standard error output. |
| 1191 | If it is nil, error output is mingled with regular output." | 1194 | If it is nil, error output is mingled with regular output." |
| 1192 | (interactive (let ((string | 1195 | (interactive (let ((string |