mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-13 17:26:40 -04:00
Add a comment for previous browse-url-of-dired-file change
* lisp/net/browse-url.el (browse-url-of-dired-file): Add a comment for previous change.
This commit is contained in:
parent
9b74e84857
commit
73f28fbde8
|
|
@ -836,7 +836,9 @@ If optional arg TEMP-FILE-NAME is non-nil, delete it instead."
|
|||
"In Dired, ask a WWW browser to display the file named on this line."
|
||||
(interactive)
|
||||
(let ((tem (dired-get-filename t t))
|
||||
(browse-url-default-handlers))
|
||||
;; Some URL handlers open files in Emacs. We want to always
|
||||
;; open in a browser, so disable those.
|
||||
(browse-url-default-handlers nil))
|
||||
(if tem
|
||||
(browse-url-of-file (expand-file-name tem))
|
||||
(error "No file on this line"))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue