diff options
| author | Glenn Morris | 2009-09-15 02:36:26 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-09-15 02:36:26 +0000 |
| commit | 077bf69b90b88ef5a65a540c4a2c5d571ebebfab (patch) | |
| tree | a0ad203b7773922e469c76166f72c76eac9902eb | |
| parent | 273cefaa42993ba487c95a90f0895f8196155a15 (diff) | |
| download | emacs-077bf69b90b88ef5a65a540c4a2c5d571ebebfab.tar.gz emacs-077bf69b90b88ef5a65a540c4a2c5d571ebebfab.zip | |
(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 b63ddb93d8b..d42e2f576a6 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1641,9 +1641,12 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST." | |||
| 1641 | '(menu-item "Symlink to..." dired-do-symlink | 1641 | '(menu-item "Symlink to..." dired-do-symlink |
| 1642 | :visible (fboundp 'make-symbolic-link) | 1642 | :visible (fboundp 'make-symbolic-link) |
| 1643 | :help "Make symbolic links for current or marked files")) | 1643 | :help "Make symbolic links for current or marked files")) |
| 1644 | (define-key map [menu-bar operate async-command] | ||
| 1645 | '(menu-item "Asynchronous Shell Command..." dired-do-async-shell-command | ||
| 1646 | :help "Run a shell command asynchronously on current or marked files")) | ||
| 1644 | (define-key map [menu-bar operate command] | 1647 | (define-key map [menu-bar operate command] |
| 1645 | '(menu-item "Shell Command..." dired-do-shell-command | 1648 | '(menu-item "Shell Command..." dired-do-shell-command |
| 1646 | :help "Run a shell command on each of marked files")) | 1649 | :help "Run a shell command on current or marked files")) |
| 1647 | (define-key map [menu-bar operate delete] | 1650 | (define-key map [menu-bar operate delete] |
| 1648 | '(menu-item "Delete" dired-do-delete | 1651 | '(menu-item "Delete" dired-do-delete |
| 1649 | :help "Delete current file or all marked files")) | 1652 | :help "Delete current file or all marked files")) |