Function: erc-channel-list

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

Signature

(erc-channel-list PROC)

Documentation

Return a list of channel buffers.

PROC is the process for the server connection. If PROC is nil, return all channel buffers on all servers.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-channel-list (proc)
  "Return a list of channel buffers.
PROC is the process for the server connection.  If PROC is nil, return
all channel buffers on all servers."
  (erc-buffer-filter
   (lambda ()
     (and (erc-default-target)
          (erc-channel-p (erc-default-target))))
   proc))