Function: browse-url-default-haiku-browser

browse-url-default-haiku-browser is an autoloaded, interactive and byte-compiled function defined in browse-url.el.gz.

Signature

(browse-url-default-haiku-browser URL &optional NEW-WINDOW)

Documentation

Browse URL with the system default browser.

Default to the URL around or before point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
;;;###autoload
(defun browse-url-default-haiku-browser (url &optional _new-window)
  "Browse URL with the system default browser.
Default to the URL around or before point."
  (interactive (browse-url-interactive-arg "URL: "))
  (setq url (browse-url-encode-url url))
  (let* ((scheme (save-match-data
                   (if (string-match "\\(.+\\):/" url)
                       (match-string 1 url)
                     "http")))
         (mime (concat "application/x-vnd.Be.URL." scheme)))
    (haiku-roster-launch mime (vector url))))