Function: erc-cmd-LIST
erc-cmd-LIST is a byte-compiled function defined in erc-list.el.gz.
Signature
(erc-cmd-LIST &optional LINE)
Documentation
Show a listing of channels on the current server in a separate window.
If LINE is specified, include it with the /LIST command. It should usually be one or more channels, separated by commas.
Please note that this function only works with IRC servers which conform to RFC and send the LIST header (#321) at start of list transmission.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-list.el.gz
;; The main entry point.
(defun erc-cmd-LIST (&optional line)
"Show a listing of channels on the current server in a separate window.
If LINE is specified, include it with the /LIST command. It
should usually be one or more channels, separated by commas.
Please note that this function only works with IRC servers which conform
to RFC and send the LIST header (#321) at start of list transmission."
(erc-with-server-buffer
(setq-local erc-list-last-argument line)
(erc-once-with-server-event
321
(let ((buf (current-buffer)))
(lambda (_proc _parsed)
(erc-list-install-322-handler buf)))))
(erc-server-send (concat "LIST :" (or (and line (substring line 1))
""))))