[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 7f298bab52 1/2: Fix rcirc buffer name collisions
From: |
Lars Ingebrigtsen |
Subject: |
master 7f298bab52 1/2: Fix rcirc buffer name collisions |
Date: |
Tue, 5 Jul 2022 16:42:38 -0400 (EDT) |
branch: master
commit 7f298bab5234073b1565a7008f63b89979a925d4
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix rcirc buffer name collisions
* lisp/net/rcirc.el (rcirc-handler-NICK): Avoid naming collisions
when renaming buffers (bug#45872).
---
lisp/net/rcirc.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index dc0946fb09..775cff9730 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -3302,7 +3302,7 @@ PROCESS is the process object for the current connection."
(with-current-buffer chat-buffer
(rcirc-print process sender "NICK" old-nick new-nick)
(setq rcirc-target new-nick)
- (rename-buffer (rcirc-generate-new-buffer-name process new-nick)))
+ (rename-buffer (rcirc-generate-new-buffer-name process new-nick) t))
(setf rcirc-buffer-alist
(cons (cons new-nick chat-buffer)
(delq (assoc-string old-nick rcirc-buffer-alist t)