Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
93714f3c
Commit
93714f3c
authored
Nov 01, 1999
by
Gerd Moellmann
Browse files
(dired-smart-shell-command): Use
shell-command-history as in shell-command.
parent
ca693be8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/dired-x.el
lisp/dired-x.el
+3
-1
No files found.
lisp/dired-x.el
View file @
93714f3c
...
...
@@ -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)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment