Variable: erc-url-connect-function
erc-url-connect-function is a customizable variable defined in
erc.el.gz.
Value
nil
Documentation
When non-nil, a function used to connect to an IRC URL.
Called with a string meant to represent a URL scheme, like
"ircs", followed by any number of keyword arguments recognized
by erc and erc-tls.
This variable was added, or its default value changed, in ERC version
5.5.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; Teach url.el how to open irc:// URLs with ERC.
;; To activate, customize `url-irc-function' to `url-irc-erc'.
(defcustom erc-url-connect-function nil
"When non-nil, a function used to connect to an IRC URL.
Called with a string meant to represent a URL scheme, like
\"ircs\", followed by any number of keyword arguments recognized
by `erc' and `erc-tls'."
:group 'erc
:package-version '(ERC . "5.5")
:type '(choice (const nil) function))