aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorStefan Kangas2019-10-17 12:55:25 +0200
committerStefan Kangas2019-10-17 12:55:25 +0200
commit3cf92da6fa692656d64b70e510efcf4e3682f978 (patch)
treeab095f5685899951563d42e3c6ca446ca4f06d42 /lisp/simple.el
parentf75f90a5ddb5e282594483dd7b5dae36f94794c3 (diff)
downloademacs-3cf92da6fa692656d64b70e510efcf4e3682f978.tar.gz
emacs-3cf92da6fa692656d64b70e510efcf4e3682f978.zip
Improve documentation of shell-command-prompt-show-cwd
* doc/emacs/misc.texi (Single Shell): * lisp/simple.el (shell-command): Document 'shell-command-prompt-show-cwd'. (Bug#4987)
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index e44b877931b..cd674c36e7b 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3508,6 +3508,8 @@ a shell (with its need to quote arguments)."
3508With prefix argument, insert the COMMAND's output at point. 3508With prefix argument, insert the COMMAND's output at point.
3509 3509
3510Interactively, prompt for COMMAND in the minibuffer. 3510Interactively, prompt for COMMAND in the minibuffer.
3511If `shell-command-prompt-show-cwd' is non-nil, show the current
3512directory in the prompt.
3511 3513
3512If COMMAND ends in `&', execute it asynchronously. 3514If COMMAND ends in `&', execute it asynchronously.
3513The output appears in the buffer `*Async Shell Command*'. 3515The output appears in the buffer `*Async Shell Command*'.