New command rcirc-cmd-reconnect
authorLeo Liu <sdl.web@gmail.com>
Wed, 9 Apr 2014 13:37:49 +0000 (21:37 +0800)
committerLeo Liu <sdl.web@gmail.com>
Wed, 9 Apr 2014 13:37:49 +0000 (21:37 +0800)
commit0b816f158782bd668cea3f013a4d6fb277ffe95a
tree58167b84d52cf70b87873bcb7c07226f86e05749
parent5f6378eed5eb0f94bafceaf4c9a5e344463a0ab3
New command rcirc-cmd-reconnect

* net/rcirc.el (rcirc-connection-info): New variable.
(rcirc-connect): Use it to store connection info.
(rcirc-buffer-process): Avoid get-buffer-process which returns nil
for killed process.
(rcirc-cmd-reconnect): New command.
(rcirc-mode, set-rcirc-encode-coding-system)
(set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.

Fixes: debbugs:17045
lisp/ChangeLog
lisp/net/rcirc.el