]> git.eshelyaron.com Git - emacs.git/commit
Make erc--server-reconnecting non-buffer-local
authorF. Jason Park <jp@neverwas.me>
Sat, 19 Nov 2022 06:42:15 +0000 (22:42 -0800)
committerAmin Bandali <bandali@gnu.org>
Thu, 24 Nov 2022 00:55:39 +0000 (19:55 -0500)
commitdc6ff142bc1c1a8596436e08ddbccb39d8fdcf39
treecbb59b7d77359ec0abd615c03634d1424a2d56d1
parentda30a4908ec1482c6d86150a197655fb99f8d68a
Make erc--server-reconnecting non-buffer-local

* lisp/erc/erc-backend.el (erc--server-reconnecting): Mention expected
non-nil value type in doc string.
(erc-server-connect): Don't set `erc--server-reconnecting'.
(erc-server--reconnect): Let-bind `erc--server-reconnecting' instead
of setting it locally in the server buffer.  Set it to an alist
containing the current buffer's local variables.
(erc-process-sentinel-2): Don't set `erc--server-reconnect'.
* lisp/erc/erc.el (erc--cmd-reconnect): Clean up some assertions.
(Bug#57955.)
lisp/erc/erc-backend.el
lisp/erc/erc.el