From 617c55681307c2d8203778c9f654f279c7bddb27 Mon Sep 17 00:00:00 2001 From: "Charles A. Roelli" Date: Wed, 15 Nov 2017 20:35:18 +0100 Subject: [PATCH] * lisp/simple.el (shell-command): Doc fixes. --- lisp/simple.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 65906c88693..7d47d0f8645 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3393,10 +3393,10 @@ The optional second argument OUTPUT-BUFFER, if non-nil, says to put the output in some other buffer. If OUTPUT-BUFFER is a buffer or buffer name, erase that buffer and insert the output there; a non-nil value of -`shell-command-dont-erase-buffer' prevent to erase the buffer. -If OUTPUT-BUFFER is not a buffer and not nil, insert the output -in current buffer after point leaving mark after it. -This cannot be done asynchronously. +`shell-command-dont-erase-buffer' prevents the buffer from being +erased. If OUTPUT-BUFFER is not a buffer and not nil, insert the +output in current buffer after point leaving mark after it. This +cannot be done asynchronously. If the command terminates without error, but generates output, and you did not specify \"insert it in the current buffer\", @@ -3404,7 +3404,7 @@ the output can be displayed in the echo area or in its buffer. If the output is short enough to display in the echo area \(determined by the variable `max-mini-window-height' if `resize-mini-windows' is non-nil), it is shown there. -Otherwise,the buffer containing the output is displayed. +Otherwise, the buffer containing the output is displayed. 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 -- 2.39.2