]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix shell-command[-on-region] doc strings
authorTino Calancha <tino.calancha@gmail.com>
Fri, 22 Jul 2016 05:47:43 +0000 (14:47 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Fri, 22 Jul 2016 05:47:43 +0000 (14:47 +0900)
* lisp/simple.el (shell-command, shell-command-on-region):
Drop the sentence saying that the command may delete the buffer
'*Shell Command Output*': the command never delete such
buffer (Bug#23936).

lisp/simple.el

index 51c9100d2c2969c9e11959bcaa3b078d61b0ca75..e91b6e02a9cb16a1c6870cd31526dd6456710389 100644 (file)
@@ -3288,9 +3288,6 @@ If there is output and an error, and you did not specify \"insert it
 in the current buffer\", a message about the error goes at the end
 of the output.
 
-If there is no output, or if output is inserted in the current buffer,
-then `*Shell Command Output*' is deleted.
-
 If the optional third argument 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.
@@ -3535,9 +3532,7 @@ Otherwise it is displayed in the buffer `*Shell Command Output*'.
 The output is available in that buffer in both cases.
 
 If there is output and an error, a message about the error
-appears at the end of the output.  If there is no output, or if
-output is inserted in the current buffer, the buffer `*Shell
-Command Output*' is deleted.
+appears at the end of the output.
 
 Optional fourth arg OUTPUT-BUFFER specifies where to put the
 command's output.  If the value is a buffer or buffer name,