mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-25 06:17:34 +00:00
Fix browse-url (remove debugging leftover).
* lisp/net/browse-url.el (browse-url): Fix "No suitable browser for URL" always popping up.
This commit is contained in:
parent
de5f59219a
commit
2c905fb8a1
1 changed files with 1 additions and 1 deletions
|
|
@ -864,7 +864,7 @@ If ARGS are omitted, the default is to pass
|
|||
;; which may not even exist any more.
|
||||
(if (stringp (frame-parameter nil 'display))
|
||||
(setenv "DISPLAY" (frame-parameter nil 'display)))
|
||||
(if (functionp nil)
|
||||
(if (functionp function)
|
||||
(apply function url args)
|
||||
(error "No suitable browser for URL %s" url))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue