diff options
author | Glenn Morris <[email protected]> | 2009-09-15 02:36:26 +0000 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2009-09-15 02:36:26 +0000 |
commit | 077bf69b90b88ef5a65a540c4a2c5d571ebebfab (patch) | |
tree | a0ad203b7773922e469c76166f72c76eac9902eb | |
parent | 273cefaa42993ba487c95a90f0895f8196155a15 (diff) |
(dired-mode-map): Add menu entry for async shell command.
-rw-r--r-- | lisp/dired.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index b63ddb93d8..d42e2f576a 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1641,9 +1641,12 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST." '(menu-item "Symlink to..." dired-do-symlink :visible (fboundp 'make-symbolic-link) :help "Make symbolic links for current or marked files")) + (define-key map [menu-bar operate async-command] + '(menu-item "Asynchronous Shell Command..." dired-do-async-shell-command + :help "Run a shell command asynchronously on current or marked files")) (define-key map [menu-bar operate command] '(menu-item "Shell Command..." dired-do-shell-command - :help "Run a shell command on each of marked files")) + :help "Run a shell command on current or marked files")) (define-key map [menu-bar operate delete] '(menu-item "Delete" dired-do-delete :help "Delete current file or all marked files")) |