Function: pcomplete-erc-commands

pcomplete-erc-commands is a byte-compiled function defined in erc-pcomplete.el.gz.

Signature

(pcomplete-erc-commands)

Documentation

Return a list of strings of the defined user commands.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-pcomplete.el.gz
;;; Functions that provide possible completions.

(defun pcomplete-erc-commands ()
  "Return a list of strings of the defined user commands."
  (let ((case-fold-search nil))
    (mapcar (lambda (x)
              (concat "/" (downcase (substring (symbol-name x) 8))))
            (apropos-internal "erc-cmd-[A-Z]+"))))