summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-11-14 16:07:44 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-11-14 16:07:44 +0000
commite779144743d853c7ce79bd105bae8285725890be (patch)
tree54cd582d26fa17523de0f4d6b0d6d51f99f3713f /lisp/simple.el
parentaec5395b0c5a295dc42d6eb83bfe4e89234bd738 (diff)
downloademacs-e779144743d853c7ce79bd105bae8285725890be.tar.gz
* simple.el (shell-command): Doc fix (Bug#4891).
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 180c8ef6f5d..2d01542355e 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2110,7 +2110,8 @@ says to put the output in some other buffer.
If OUTPUT-BUFFER is a buffer or buffer name, put the output there.
If OUTPUT-BUFFER is not a buffer and not nil,
insert output in current buffer. (This cannot be done asynchronously.)
-In either case, the output is inserted after point (leaving mark after it).
+In either case, the buffer is first erased, and the output is
+inserted after point (leaving mark after it).
If the command terminates without error, but generates output,
and you did not specify \"insert it in the current buffer\",