changeset 105024:3db1f3571655

(dired-mode-map): Add menu entry for async shell command.
author Glenn Morris <rgm@gnu.org>
date Tue, 15 Sep 2009 02:36:26 +0000
parents e0d5fc8f7387
children bc7e96c6811f
files lisp/dired.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Tue Sep 15 02:35:47 2009 +0000
+++ b/lisp/dired.el	Tue Sep 15 02:36:26 2009 +0000
@@ -1641,9 +1641,12 @@
       '(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"))