summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/dired-aux.el1
-rw-r--r--lisp/dired.el7
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 83e71b644b8..bb911513321 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1448,6 +1448,7 @@ This excludes `dired-guess-shell-alist-user' and
(declare-function w32-shell-execute "w32fns.c")
+;;;###autoload
(defun dired-do-open (&optional arg)
"Open all marked (or next ARG) files using an external program.
This \"opens\" the file(s) using the external command that is most
diff --git a/lisp/dired.el b/lisp/dired.el
index 2b1db9f6e31..f2a75df6ef1 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2276,9 +2276,10 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST."
"~" #'dired-flag-backup-files
;; Upper case keys (except !) for operating on the marked files
"A" #'dired-do-find-regexp
- "C" #'dired-do-copy
"B" #'dired-do-byte-compile
+ "C" #'dired-do-copy
"D" #'dired-do-delete
+ "E" #'dired-do-open
"G" #'dired-do-chgrp
"H" #'dired-do-hardlink
"I" #'dired-do-info
@@ -2483,7 +2484,9 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST."
["Display Image" image-dired-dired-display-image
:help "Display sized image in a separate window"]
["Display Image Externally" image-dired-dired-display-external
- :help "Display image in external viewer"]))
+ :help "Display image in external viewer"]
+ ["Display Externally" dired-do-open
+ :help "Display file in external viewer"]))
(easy-menu-define dired-mode-regexp-menu dired-mode-map
"Regexp menu for Dired mode."