[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 9b74e84857: Restore documented Emacs 27.2 behaviour of browse-u
From: |
Lars Ingebrigtsen |
Subject: |
emacs-28 9b74e84857: Restore documented Emacs 27.2 behaviour of browse-url-of-dired-file |
Date: |
Sun, 6 Mar 2022 23:13:46 -0500 (EST) |
branch: emacs-28
commit 9b74e8485738913ddf220661097103f9a843ab45
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Restore documented Emacs 27.2 behaviour of browse-url-of-dired-file
* lisp/net/browse-url.el (browse-url-of-dired-file): Restore the
documented behaviour -- open a web browser instead of passing to
the various handlers.
---
lisp/net/browse-url.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 3aafbea7c3..55f41323dd 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -835,7 +835,8 @@ If optional arg TEMP-FILE-NAME is non-nil, delete it
instead."
(defun browse-url-of-dired-file ()
"In Dired, ask a WWW browser to display the file named on this line."
(interactive)
- (let ((tem (dired-get-filename t t)))
+ (let ((tem (dired-get-filename t t))
+ (browse-url-default-handlers))
(if tem
(browse-url-of-file (expand-file-name tem))
(error "No file on this line"))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 9b74e84857: Restore documented Emacs 27.2 behaviour of browse-url-of-dired-file,
Lars Ingebrigtsen <=