Improve doc string of 'shell-command'

* lisp/simple.el (shell-command): Mention that COMMAND is prompted
for.  (Bug#22926)
This commit is contained in:
Eli Zaretskii 2016-03-06 19:36:57 +02:00
parent b71c717f95
commit 993b2fbb70

View file

@ -3195,6 +3195,8 @@ shell (with its need to quote arguments)."
"Execute string COMMAND in inferior shell; display output, if any. "Execute string COMMAND in inferior shell; display output, if any.
With prefix argument, insert the COMMAND's output at point. With prefix argument, insert the COMMAND's output at point.
Interactively, prompt for COMMAND in the minibuffer.
If COMMAND ends in `&', execute it asynchronously. If COMMAND ends in `&', execute it asynchronously.
The output appears in the buffer `*Async Shell Command*'. The output appears in the buffer `*Async Shell Command*'.
That buffer is in shell mode. You can also use That buffer is in shell mode. You can also use