]> git.eshelyaron.com Git - emacs.git/commit
Customize displaying of ERC buffers on reconnect
authorF. Jason Park <jp@neverwas.me>
Fri, 19 Nov 2021 07:39:54 +0000 (23:39 -0800)
committerF. Jason Park <jp@neverwas.me>
Thu, 30 Jun 2022 22:03:26 +0000 (15:03 -0700)
commitc5b78a337900fd2a8d29317df7a27dd4e7006e89
treecdc720b38409df68fef0774b0801f5dbc8ddaa57
parenta63ed6f78a6f7169574cfb0a2d5df45890b540d6
Customize displaying of ERC buffers on reconnect

* lisp/erc/erc-backend.el (erc--server-last-reconnect-count):
Add variable to record last reconnect tally.

* lisp/erc/erc.el (erc-reconnect-display): Add new option to specify
channel-buffer display behavior on reconnect.
(erc-setup-buffer): Use option `erc-reconnect-display' if warranted.
(erc-cmd-JOIN): Forget last reconnect count when issuing a manual
/JOIN command.
(erc-connection-established): Record reconnect count in internal var
before resetting.
(Bug#51753)
lisp/erc/erc-backend.el
lisp/erc/erc.el