[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/rcirc-update 3405c85 6/7: Unset mode-line-process for all buffer
From: |
Philip Kaludercic |
Subject: |
feature/rcirc-update 3405c85 6/7: Unset mode-line-process for all buffers on reconnecting |
Date: |
Tue, 14 Sep 2021 16:10:33 -0400 (EDT) |
branch: feature/rcirc-update
commit 3405c85ae402ae53b3b731868e18bd51ea928f37
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Unset mode-line-process for all buffers on reconnecting
* rcirc.el (rcirc-sentinel): Add loop over all managed buffers
---
lisp/net/rcirc.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 5537ddc..b0374a5 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -900,7 +900,9 @@ If QUIET is non-nil, no not emit a message."
(setq rcirc-reconnection-timer nil))
(message "Connecting to %s...done" (or server-alias server))
- (setq mode-line-process nil)))
+ (dolist (buffer (cons nil (mapcar 'cdr rcirc-buffer-alist)))
+ (with-current-buffer (or buffer (current-buffer))
+ (setq mode-line-process nil)))))
((string= sentinel "deleted")
(let ((now (current-time)))
(with-rcirc-process-buffer process
- feature/rcirc-update updated (0d35040 -> 5ebad79), Philip Kaludercic, 2021/09/14
- feature/rcirc-update 3405c85 6/7: Unset mode-line-process for all buffers on reconnecting,
Philip Kaludercic <=
- feature/rcirc-update 8eb9eb0 3/7: Allow for multiple attempts when reconnecting, Philip Kaludercic, 2021/09/14
- feature/rcirc-update ec50a36 2/7: * rcirc.texi (Hacking and Tweaking): Add missing section to menu, Philip Kaludercic, 2021/09/14
- feature/rcirc-update 1c3bad8 4/7: Display server buffer after connecting, Philip Kaludercic, 2021/09/14
- feature/rcirc-update 5ebad79 7/7: Fix interactive forms for rcirc-define-command, Philip Kaludercic, 2021/09/14
- feature/rcirc-update 767fa97 1/7: * rcirc.el (rcirc-server-alist): Add #emacs to default server list, Philip Kaludercic, 2021/09/14
- feature/rcirc-update 1e13786 5/7: Restore rcirc-target if possible, Philip Kaludercic, 2021/09/14