diff options
author | Glenn Morris <rgm@gnu.org> | 2012-10-06 18:28:04 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-10-06 18:28:04 -0700 |
commit | 87a95afe81dc7775ef134a94548dea68ed0cc3c3 (patch) | |
tree | 93b2d6e088a91387a78a8eeb8f9853d892c23e49 /lisp/erc/erc-backend.el | |
parent | 5407f8d23491f3e7886865facc0ae6446142ba48 (diff) | |
download | emacs-87a95afe81dc7775ef134a94548dea68ed0cc3c3.tar.gz |
* lisp/erc/erc-backend.el (NICK): Handle pre-existing buffers.
Fixes: debbugs:12002
Diffstat (limited to 'lisp/erc/erc-backend.el')
-rw-r--r-- | lisp/erc/erc-backend.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 75f0047bf06..20ccd071b95 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el @@ -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) |