Function: erc-command-symbol

erc-command-symbol is a byte-compiled function defined in erc.el.gz.

Signature

(erc-command-symbol COMMAND)

Documentation

Return the ERC command symbol for COMMAND if it exists and is bound.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-command-symbol (command)
  "Return the ERC command symbol for COMMAND if it exists and is bound."
  (let ((cmd (intern-soft (format "erc-cmd-%s" (upcase command)))))
    (when (fboundp cmd) cmd)))