Function: erc-cmd-DCC
erc-cmd-DCC is an autoloaded and byte-compiled function defined in
erc-dcc.el.gz.
Signature
(erc-cmd-DCC CMD &rest ARGS)
Documentation
Parser for /dcc command.
This figures out the dcc subcommand and calls the appropriate routine to handle it. The function dispatched should be named "erc-dcc-do-FOO-command", where FOO is one of CLOSE, GET, SEND, LIST, CHAT, etc.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-dcc.el.gz
;;;###autoload
(defun erc-cmd-DCC (cmd &rest args)
"Parser for /dcc command.
This figures out the dcc subcommand and calls the appropriate routine to
handle it. The function dispatched should be named \"erc-dcc-do-FOO-command\",
where FOO is one of CLOSE, GET, SEND, LIST, CHAT, etc."
(when cmd
(let ((fn (intern-soft (concat "erc-dcc-do-" (upcase cmd) "-command"))))
(if fn
(apply fn erc-server-process args)
(erc-display-message
nil 'notice 'active
'dcc-command-undefined ?c cmd)
(apropos "erc-dcc-do-.*-command")
t))))