Variable: erc-reconnect-display
erc-reconnect-display is a customizable variable defined in erc.el.gz.
Value
nil
Documentation
How (and whether) to display a channel buffer upon reconnecting.
This only affects automatic reconnections and is ignored when
issuing a /reconnect command or reinvoking erc-tls with the
same args (assuming success, of course). See erc-join-buffer
for a description of possible values.
WARNING: this option is bugged in ERC 5.5 (Emacs 29). Setting it to anything other than nil results in the chosen value being permanently adopted by all other buffer-display options for the remainder of the ERC session. If you need this fixed immediately, see Info node (erc) Upgrading.
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
(defcustom erc-reconnect-display nil
"How (and whether) to display a channel buffer upon reconnecting.
This only affects automatic reconnections and is ignored when
issuing a /reconnect command or reinvoking `erc-tls' with the
same args (assuming success, of course). See `erc-join-buffer'
for a description of possible values.
WARNING: this option is bugged in ERC 5.5 (Emacs 29). Setting it
to anything other than nil results in the chosen value being
permanently adopted by all other buffer-display options for the
remainder of the ERC session. If you need this fixed
immediately, see Info node `(erc) Upgrading'."
:package-version '(ERC . "5.5")
:group 'erc-buffers
:set (lambda (sym val)
(when (set sym val)
(lwarn 'erc :warning "Setting `%s' to `%s' is currently bugged; %s"
sym val "see doc string for more information.")))
:type '(choice (const :tag "Use value of `erc-join-buffer'" nil)
(const :tag "Split window and select" window)
(const :tag "Split window, don't select" window-noselect)
(const :tag "New frame" frame)
(const :tag "Bury in new buffer" bury)
(const :tag "Use current buffer" buffer)))