Fix erc reconnection via non-default connectors (Bug#4958).
commit361bbf574b7ae0e0a3975307b8f00c355870a3e0
authorChong Yidong <cyd@stupidchicken.com>
Mon, 25 Jan 2010 18:49:23 +0000 (25 13:49 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 25 Jan 2010 18:49:23 +0000 (25 13:49 -0500)
treefe72731cbf34243917fc9d5c8e9586ad6486924b
parente2396d80cbf7e9d20c05eff44c1c8f04ecb9341c
Fix erc reconnection via non-default connectors (Bug#4958).

* erc-backend.el (erc-session-connector): New var.
(erc-server-reconnect): Use it to reconnect via old connector (Bug#4958).

* erc.el (erc-determine-parameters): Save erc-server-connect-function to erc-session-connector.
lisp/erc/ChangeLog
lisp/erc/erc-backend.el
lisp/erc/erc.el