mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
Use browse-url directly.
This commit is contained in:
parent
7cf8c582dd
commit
af0f19d71b
@ -1765,8 +1765,7 @@ If END is omitted, it defaults to the length of LIST."
|
||||
|
||||
(defun widget-url-link-action (widget &optional event)
|
||||
"Open the url specified by WIDGET."
|
||||
(require 'browse-url)
|
||||
(funcall browse-url-browser-function (widget-value widget)))
|
||||
(browse-url (widget-value widget)))
|
||||
|
||||
;;; The `function-link' Widget.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user