]> git.eshelyaron.com Git - emacs.git/commit
Normalize usage of variable erc-server-reconnecting
authorF. Jason Park <jp@neverwas.me>
Sat, 6 Nov 2021 02:15:24 +0000 (03:15 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Nov 2021 02:15:24 +0000 (03:15 +0100)
commit58deb30fd0df5aeed3303b2dfd53be171fdd5f81
tree25795b92bca553563296a08b58fbaa0833c6c2c0
parent4d656ea5ff7ba79315af42e159254867bfd157ad
Normalize usage of variable erc-server-reconnecting

* lisp/erc/erc-backend.el (erc-server-reconnecting-p):
Don't consider erc-server-reconnecting when rendering verdict.
(erc-process-sentinel-2): ensure local variable
erc-server-reconnecting is t when timers are scheduled or running and
trying to reconnect, and nil otherwise, including after no retries
remain. Previously, its use and meaning in erc-backend were convoluted
and conflicted with its use in erc-cmd-RECONNECT (bug#50007).
lisp/erc/erc-backend.el