From: Julien Danjou Date: Sat, 23 Oct 2010 20:04:47 +0000 (-0700) Subject: * erc-backend.el (erc-server-JOIN): Set the correct target list on join. X-Git-Tag: emacs-pretest-23.2.90~47 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7de0e00334c842afcc4e727c915b379797738fe9;p=emacs.git * erc-backend.el (erc-server-JOIN): Set the correct target list on join. --- diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 4143893008f..6eacc035552 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog @@ -1,5 +1,7 @@ 2010-10-23 Julien Danjou + * erc-backend.el (erc-server-JOIN): Set the correct target list on join. + * erc-backend.el (erc-process-sentinel): Check that buffer is alive before setting it as current buffer. diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 92b1c761a30..f9c74a7af3e 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el @@ -1195,7 +1195,7 @@ add things to `%s' instead." (setq buffer (erc-open erc-session-server erc-session-port nick erc-session-user-full-name nil nil - erc-default-recipients chnl + (list chnl) chnl erc-server-process)) (when buffer (set-buffer buffer)