Function: erc-quit-server
erc-quit-server is an interactive and byte-compiled function defined
in erc.el.gz.
Signature
(erc-quit-server REASON)
Documentation
Disconnect from current server after prompting for REASON.
erc-quit-reason works with this just like with erc-cmd-QUIT.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-quit-server (reason)
"Disconnect from current server after prompting for REASON.
`erc-quit-reason' works with this just like with `erc-cmd-QUIT'."
(interactive (list (read-string
(format "Reason for quitting %s: "
(or erc-server-announced-name
erc-session-server)))))
(erc-cmd-QUIT reason))