Variable: browse-url-default-scheme
browse-url-default-scheme is a customizable variable defined in
browse-url.el.gz.
Value
"http"
Documentation
URL scheme that browse-url (and related commands) will use by default.
For example, when point is on an URL fragment like "www.example.org",
browse-url will assume that this is an "http" URL by default (for
example, "http://www.example.org").
This variable was added, or its default value changed, in Emacs 29.1.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/net/browse-url.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; URL input
(defcustom browse-url-default-scheme "http"
"URL scheme that `browse-url' (and related commands) will use by default.
For example, when point is on an URL fragment like \"www.example.org\",
`browse-url' will assume that this is an \"http\" URL by default (for
example, \"http://www.example.org\")."
:type '(choice (const :tag "HTTP" "http")
(const :tag "HTTPS" "https")
(string :tag "Something else" "https"))
:risky t
:version "29.1")