]> code.delx.au - gnu-emacs/blobdiff - lisp/dired-x.el
*** empty log message ***
[gnu-emacs] / lisp / dired-x.el
index 91d36034ee57d653a9430acffa0ea8e80967b306..808dc3b5dc87ae285fdd43fd7ee5ddd8161181c4 100644 (file)
@@ -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)))