summaryrefslogtreecommitdiff
path: root/doc/emacs/misc.texi
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2022-01-28 16:32:15 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-01-28 16:32:15 +0100
commit87c23670111b03768dc722208dfe11183cebc5d5 (patch)
tree525374e492dbbceca6cb3461b0a6fd04a8d0c6a8 /doc/emacs/misc.texi
parent12d3c4831aa39974814604a3d13b8033d75441e6 (diff)
downloademacs-87c23670111b03768dc722208dfe11183cebc5d5.tar.gz
emacs-87c23670111b03768dc722208dfe11183cebc5d5.tar.bz2
emacs-87c23670111b03768dc722208dfe11183cebc5d5.zip
Clarify where the shell-command output goes
* lisp/simple.el (shell-command): * doc/emacs/misc.texi (Single Shell): Clarify where the output goes if the specified buffer isn't the current one (bug#40896).
Diffstat (limited to 'doc/emacs/misc.texi')
-rw-r--r--doc/emacs/misc.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 365c079e897..4710c05b620 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -856,6 +856,9 @@ Restores the position of point as it was before inserting the
shell-command output.
@end table
+In case the output buffer is not the current buffer, shell command
+output is appended at the end of this buffer.
+
@node Interactive Shell
@subsection Interactive Subshell