Function: erc-get-arglist

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

Signature

(erc-get-arglist FUN)

Documentation

Return the argument list of a function without the parens.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-get-arglist (fun)
  "Return the argument list of a function without the parens."
  (let ((arglist (format "%S" (help-function-arglist fun))))
    (if (string-match "\\`(\\(.*\\))\\'" arglist)
        (match-string 1 arglist)
      arglist)))