Variable: erc-reuse-buffers
erc-reuse-buffers is a customizable variable defined in erc.el.gz.
This variable is obsolete since 29.1; old behavior when t now permanent
Value
t
Documentation
If nil, create new buffers on joining a channel/query.
If non-nil, a new buffer will only be created when you join channels with same names on different servers, or have query buffers open with nicks of the same name on different servers. Otherwise, the existing buffers will be reused.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; For the sake of compatibility, a historical quirk concerning this
;; option, when nil, has been preserved: all buffers are suffixed with
;; the original dialed host name, which is usually something like
;; irc.libera.chat. Collisions are handled by adding a uniquifying
;; numeric suffix of the form <N>. Note that channel reassociation
;; behavior involving this option (when nil) was inverted in 28.1 (ERC
;; 5.4 and 5.4.1). This was regrettable and has since been undone.
(defcustom erc-reuse-buffers t
"If nil, create new buffers on joining a channel/query.
If non-nil, a new buffer will only be created when you join
channels with same names on different servers, or have query buffers
open with nicks of the same name on different servers. Otherwise,
the existing buffers will be reused."
:group 'erc-buffers
:type 'boolean)