Function: browse-url--browser-kind
browse-url--browser-kind is a byte-compiled function defined in
browse-url.el.gz.
Signature
(browse-url--browser-kind FUNCTION URL)
Documentation
Return the browser kind of a browser FUNCTION for URL.
The browser kind is either internal (the browser runs inside
Emacs), external (the browser is spawned in an external
process), or nil (we don't know).
Source Code
;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
(defun browse-url--browser-kind (function url)
"Return the browser kind of a browser FUNCTION for URL.
The browser kind is either `internal' (the browser runs inside
Emacs), `external' (the browser is spawned in an external
process), or nil (we don't know)."
(let ((kind (if (symbolp function)
(get function 'browse-url-browser-kind))))
(if (functionp kind)
(funcall kind url)
kind)))