aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2016-03-06 19:36:57 +0200
committerEli Zaretskii2016-03-06 19:36:57 +0200
commit993b2fbb70c03882862f520a54b63c08a6e4e921 (patch)
treefd2c9f068593ebfac1c95e8526c5f37f48c63992
parentb71c717f952d57995c54a2d276b10af87529dcd3 (diff)
downloademacs-993b2fbb70c03882862f520a54b63c08a6e4e921.tar.gz
emacs-993b2fbb70c03882862f520a54b63c08a6e4e921.zip
Improve doc string of 'shell-command'
* lisp/simple.el (shell-command): Mention that COMMAND is prompted for. (Bug#22926)
-rw-r--r--lisp/simple.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 0b04b80cb67..84a1919bc01 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3195,6 +3195,8 @@ shell (with its need to quote arguments)."
3195 "Execute string COMMAND in inferior shell; display output, if any. 3195 "Execute string COMMAND in inferior shell; display output, if any.
3196With prefix argument, insert the COMMAND's output at point. 3196With prefix argument, insert the COMMAND's output at point.
3197 3197
3198Interactively, prompt for COMMAND in the minibuffer.
3199
3198If COMMAND ends in `&', execute it asynchronously. 3200If COMMAND ends in `&', execute it asynchronously.
3199The output appears in the buffer `*Async Shell Command*'. 3201The output appears in the buffer `*Async Shell Command*'.
3200That buffer is in shell mode. You can also use 3202That buffer is in shell mode. You can also use