Variable: browse-url-secondary-browser-function

browse-url-secondary-browser-function is a customizable variable defined in browse-url.el.gz.

Value

browse-url-default-browser

Documentation

Function used to launch an alternative browser.

This is usually an external browser (that is, not eww or w3m), used as the secondary browser choice, typically when a prefix argument is given to a URL-opening command in those modes that support this (for instance, eww/shr).

Also see browse-url-browser-function.

This variable was added, or its default value changed, in Emacs 27.1.

Probably introduced at or before Emacs version 27.1.

Aliases

shr-external-browser (obsolete since 27.1)

Source Code

;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
(defcustom browse-url-secondary-browser-function 'browse-url-default-browser
  "Function used to launch an alternative browser.
This is usually an external browser (that is, not eww or w3m),
used as the secondary browser choice, typically when a prefix
argument is given to a URL-opening command in those modes that
support this (for instance, eww/shr).

Also see `browse-url-browser-function'."
  :version "27.1"
  :type browse-url--browser-defcustom-type)