]> git.eshelyaron.com Git - emacs.git/commit
Handle connection errors in rcirc-keepalive
authorPhilip Kaludercic <philipk@posteo.net>
Sun, 17 Apr 2022 12:21:14 +0000 (14:21 +0200)
committerPhilip Kaludercic <philipk@posteo.net>
Sun, 17 Apr 2022 12:22:25 +0000 (14:22 +0200)
commit37bccf19caa6ad245bb4c8adacfb1a1d203d1d2d
treecb0a3dba13d61e245c7de89cded97fd695766ad0
parent2136db067f4292d84553ebfddab30d88b862262e
Handle connection errors in rcirc-keepalive

* rcirc.el (rcirc-reconnect-delay): Declare variable before it is
defined.
(rcirc-keepalive): Handle rcirc-closed-connection, respecting
rcirc-reconnect-delay.
(rcirc-closed-connection): Add new error type.
(rcirc-send-string): Throw rcirc-closed-connection instead of a
generic error.
lisp/net/rcirc.el