Function: erc-get-hook

erc-get-hook is a byte-compiled function defined in erc-backend.el.gz.

Signature

(erc-get-hook COMMAND)

Documentation

Return the hook variable associated with COMMAND.

See also erc-server-responses.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-backend.el.gz
(defun erc-get-hook (command)
  "Return the hook variable associated with COMMAND.

See also `erc-server-responses'."
  (gethash (format (if (numberp command) "%03i" "%s") command)
           erc-server-responses))