Function: erc-kill-server

erc-kill-server is a byte-compiled function defined in erc.el.gz.

Signature

(erc-kill-server)

Documentation

Sends a QUIT command to the server when the server buffer is killed.

This function should be on erc-kill-server-hook.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-kill-server ()
  "Sends a QUIT command to the server when the server buffer is killed.
This function should be on `erc-kill-server-hook'."
  (when (erc-server-process-alive)
    (setq erc-server-quitting t)
    (erc-server-send (format "QUIT :%s" (funcall erc-quit-reason nil)))))