* lisp/erc/erc-backend.el (NICK): Handle pre-existing buffers.
Fixes: debbugs:12002
This commit is contained in:
parent
5407f8d234
commit
87a95afe81
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-10-07 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* erc-backend.el (NICK): Handle pre-existing buffers. (Bug#12002)
|
||||
|
||||
2012-10-06 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* erc.el (erc-lurker):
|
||||
|
|
|
@ -1316,7 +1316,7 @@ add things to `%s' instead."
|
|||
(when (equal (erc-default-target) nick)
|
||||
(setq erc-default-recipients
|
||||
(cons nn (cdr erc-default-recipients)))
|
||||
(rename-buffer nn)
|
||||
(rename-buffer nn t) ; bug#12002
|
||||
(erc-update-mode-line)
|
||||
(add-to-list 'bufs (current-buffer)))))
|
||||
(erc-update-user-nick nick nn host nil nil login)
|
||||
|
|
Loading…
Add table
Reference in a new issue