summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/wid-edit.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index e2d1a7cdf03..34930699b20 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -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.