diff options
author | Gerd Moellmann <gerd@gnu.org> | 1999-11-01 15:41:33 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 1999-11-01 15:41:33 +0000 |
commit | 1887a845bcb2dae5d93445cb1f86503c4d5302d2 (patch) | |
tree | fb291e6e00c8c80e13c46d469f52651eb43a89dd /lisp/dired-x.el | |
parent | 3c7e46ed47d49b9f81dbc9b2721ac7de3c85261d (diff) | |
download | emacs-1887a845bcb2dae5d93445cb1f86503c4d5302d2.tar.gz |
(dired-smart-shell-command): Use
shell-command-history as in shell-command.
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r-- | lisp/dired-x.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 91d36034ee5..808dc3b5dc8 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -823,7 +823,9 @@ cases in variable `default-directory-alist' (which see)." (defun dired-smart-shell-command (cmd &optional insert) "Like function `shell-command', but in the current Tree Dired directory." - (interactive "sShell command: \nP") + (interactive (list (read-from-minibuffer "Shell command: " + nil nil nil 'shell-command-history) + current-prefix-arg)) (let ((default-directory (default-directory))) (shell-command cmd insert))) |