summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorF. Jason Park <jp@neverwas.me>2024-05-01 07:21:01 -0700
committerF. Jason Park <jp@neverwas.me>2026-05-12 21:11:43 -0700
commitec7a5f85c934d83239c1a77e5122b288c4cd0b25 (patch)
tree12a51f090a6343df7c7a049f79e1e305bce74229 /etc
parent606c0b22e4ee2d01de9bcf064205716dca1ef8b3 (diff)
Run module setup in ERC query buffers on reconnect
* etc/ERC-NEWS: Mention change. * lisp/erc/erc.el (erc-connection-established): Apply `erc--open-target' to all existing query buffers after they've been reassociated by the erc-networks logic.
Diffstat (limited to 'etc')
-rw-r--r--etc/ERC-NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/ERC-NEWS b/etc/ERC-NEWS
index de27b8f07e7..d28c0670a73 100644
--- a/etc/ERC-NEWS
+++ b/etc/ERC-NEWS
@@ -16,6 +16,12 @@ GNU Emacs since Emacs version 22.1.
** Changes in the library API.
+*** Module setup runs in query buffers on reconnect.
+A module's setup would always run in channel buffers on reconnect, due
+to channels being rejoined, but query buffers lacked a similar
+opportunity to reinitialize their state for the new session. This is no
+longer the case.
+
*** Local modules activate in preferred order instead of in reverse.
In recent versions, ERC has enabled local modules in the reverse order
of that produced by the "set" function used by 'setopt' and the Custom