Function: rcirc-disconnect-buffer
rcirc-disconnect-buffer is a byte-compiled function defined in
rcirc.el.gz.
Signature
(rcirc-disconnect-buffer &optional BUFFER)
Documentation
Disconnect BUFFER.
If BUFFER is nil, default to the current buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
(defun rcirc-disconnect-buffer (&optional buffer)
"Disconnect BUFFER.
If BUFFER is nil, default to the current buffer."
(with-current-buffer (or buffer (current-buffer))
;; set rcirc-target to nil for each channel so cleanup
;; doesn't happen when we reconnect
(setq rcirc-target nil)
(setq mode-line-process ":disconnected")))