Variable: erc-server-reconnect-function
erc-server-reconnect-function is a customizable variable defined in
erc-backend.el.gz.
Value
erc-server-prefer-check-reconnect
Documentation
Function called by the reconnect timer to create a new connection.
Called with a server buffer as its only argument. Potential uses
include exponential backoff and probing for connectivity prior to
dialing. Use erc-schedule-reconnect to instead try again later
and optionally alter the attempts tally.
This variable was added, or its default value changed, in ERC version
5.6.1.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
(defcustom erc-server-reconnect-function 'erc-server-prefer-check-reconnect
"Function called by the reconnect timer to create a new connection.
Called with a server buffer as its only argument. Potential uses
include exponential backoff and probing for connectivity prior to
dialing. Use `erc-schedule-reconnect' to instead try again later
and optionally alter the attempts tally."
:package-version '(ERC . "5.6.1")
:type '(choice (function-item erc-server-delayed-reconnect)
(function-item erc-server-delayed-check-reconnect)
(function-item erc-server-prefer-check-reconnect)
function))