From: Eli Zaretskii <eliz@gnu.org>
Date: Sun, 6 Mar 2016 17:36:57 +0000 (+0200)
Subject: Improve doc string of 'shell-command'
X-Git-Tag: emacs-25.0.93~125
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=993b2fbb70c03882862f520a54b63c08a6e4e921;p=emacs.git

Improve doc string of 'shell-command'

* lisp/simple.el (shell-command): Mention that COMMAND is prompted
for.  (Bug#22926)
---

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)."
   "Execute string COMMAND in inferior shell; display output, if any.
 With prefix argument, insert the COMMAND's output at point.
 
+Interactively, prompt for COMMAND in the minibuffer.
+
 If COMMAND ends in `&', execute it asynchronously.
 The output appears in the buffer `*Async Shell Command*'.
 That buffer is in shell mode.  You can also use