From: Glenn Morris Date: Tue, 15 Sep 2009 02:36:26 +0000 (+0000) Subject: (dired-mode-map): Add menu entry for async shell command. X-Git-Tag: emacs-pretest-23.1.90~1313 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=077bf69b90b88ef5a65a540c4a2c5d571ebebfab;p=emacs.git (dired-mode-map): Add menu entry for async shell command. --- 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." '(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"))