summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-12-09 10:54:07 +0200
committerEli Zaretskii <eliz@gnu.org>2023-12-09 10:54:07 +0200
commitdc7cf87bc04d74005c11a2cfde9ccbcacc21d11b (patch)
tree31782c9a06180d637e8eb6dae6473da36d14c01a /lisp
parent414301bce19e24889ce970d60f798e178e556818 (diff)
downloademacs-dc7cf87bc04d74005c11a2cfde9ccbcacc21d11b.tar.gz
emacs-dc7cf87bc04d74005c11a2cfde9ccbcacc21d11b.tar.bz2
emacs-dc7cf87bc04d74005c11a2cfde9ccbcacc21d11b.zip
; Fix documentation of 'dired-do-open'
* lisp/dired-aux.el (dired-do-open): * etc/NEWS: Fix documentation of 'dired-do-open'. (Bug#18132)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/dired-aux.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 0998e76c410..44e9ae3701e 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1405,10 +1405,13 @@ after adding own commands to the composite list."
(declare-function w32-shell-execute "w32fns.c")
(defun dired-do-open (&optional arg)
- "Open the marked files or a file at click/point externally.
-If files are marked, run the command from `shell-command-guess-open'
-on each of marked files. Otherwise, run it on the file where
-the mouse is clicked, or on the file at point."
+ "Open all marked (or next ARG) files using an external program.
+This \"opens\" the file(s) using the external command that is most
+appropriate for the file(s) according to the system conventions.
+If files are marked, run the command on each marked file. Otherwise,
+run it on the next ARG files, or on the file at mouse-click, or on the
+file at point. The appropriate command to \"open\" a file on each
+system is determined by `shell-command-guess-open'."
(interactive "P" dired-mode)
(let ((files (if (mouse-event-p last-nonmenu-event)
(save-excursion