]> git.eshelyaron.com Git - emacs.git/commit
Categorize browse-url functions into internal and external ones.
authorTassilo Horn <tsdh@gnu.org>
Thu, 7 May 2020 11:02:13 +0000 (13:02 +0200)
committerTassilo Horn <tsdh@gnu.org>
Thu, 7 May 2020 17:43:41 +0000 (19:43 +0200)
commitb0f9cbb3da6124c540b0a577e0928e85b362b277
tree770d68dc84dbec1274a358be5bd7b961632d3233
parent263ab750a5963af837fd69647071faa92093011c
Categorize browse-url functions into internal and external ones.

* lisp/net/browse-url.el: Write package documentation explaining
browse-url-browser-kind symbol property.  Categorize existing
browse-url functions into internal and external ones.
(browse-url--browser-kind, browse-url--browser-kind-mailto)
(browse-url--browser-kind-man, browse-url--browser-kind-browser): New
functions.
(browse-url-select-handler): Add KIND argument to restrict selection.
* lisp/dnd.el (dnd-handle-one-url): Only select browse-url handler of
kind `internal'.
* lisp/net/eww.el (eww): Add `browse-url-browser-kind' symbol property
with value `internal'.
lisp/dnd.el
lisp/net/browse-url.el
lisp/net/eww.el