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