1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

* rcirc.el (rcirc-reconnect): Set rcirc-joined

This commit is contained in:
Philip Kaludercic 2021-09-25 16:25:03 +02:00
parent 285f59cbe2
commit 32cb457529

View file

@ -840,7 +840,8 @@ If QUIET is non-nil, no not emit a message."
(dolist (buffer (mapcar #'cdr rcirc-buffer-alist))
(when (buffer-live-p buffer)
(with-current-buffer buffer
(setq mode-line-process ":connecting"))))
(setq rcirc-joined (current-time)
mode-line-process ":connecting"))))
(let ((nprocess (apply #'rcirc-connect conn-info)))
(when (and (< rcirc-failed-attempts rcirc-reconnect-attempts)
(eq (process-status nprocess) 'failed))