Function: erc-dcc-list-add

erc-dcc-list-add is a byte-compiled function defined in erc-dcc.el.gz.

Signature

(erc-dcc-list-add TYPE NICK PEER PARENT &rest ARGS)

Documentation

Add a new entry of type TYPE to erc-dcc-list and return it.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-dcc.el.gz
(defun erc-dcc-list-add (type nick peer parent &rest args)
  "Add a new entry of type TYPE to `erc-dcc-list' and return it."
  (car
   (setq erc-dcc-list
         (cons
          (append (list :nick nick :type type :peer peer :parent parent) args)
          erc-dcc-list))))