diff options
| author | Per Abrahamsen | 1998-03-04 10:48:19 +0000 |
|---|---|---|
| committer | Per Abrahamsen | 1998-03-04 10:48:19 +0000 |
| commit | af0f19d71bd5e774c4928975c4b479428c9974db (patch) | |
| tree | f43355499bcf5ae779eda2dddb276a0ab163b46a /lisp | |
| parent | 7cf8c582dda63ca3a238dee85f240dc0623229e8 (diff) | |
| download | emacs-af0f19d71bd5e774c4928975c4b479428c9974db.tar.gz emacs-af0f19d71bd5e774c4928975c4b479428c9974db.zip | |
Use browse-url directly.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/wid-edit.el | 3 |
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." | |||
| 1765 | 1765 | ||
| 1766 | (defun widget-url-link-action (widget &optional event) | 1766 | (defun widget-url-link-action (widget &optional event) |
| 1767 | "Open the url specified by WIDGET." | 1767 | "Open the url specified by WIDGET." |
| 1768 | (require 'browse-url) | 1768 | (browse-url (widget-value widget))) |
| 1769 | (funcall browse-url-browser-function (widget-value widget))) | ||
| 1770 | 1769 | ||
| 1771 | ;;; The `function-link' Widget. | 1770 | ;;; The `function-link' Widget. |
| 1772 | 1771 | ||