changeset 26286:ee92c3ce100d

(dired-smart-shell-command): Use shell-command-history as in shell-command.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 01 Nov 1999 15:41:33 +0000
parents c7b2827eb512
children 5a2889dedd7d
files lisp/dired-x.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-x.el	Mon Nov 01 15:28:32 1999 +0000
+++ b/lisp/dired-x.el	Mon Nov 01 15:41:33 1999 +0000
@@ -823,7 +823,9 @@
 
 (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)))