Function: erc-get-channel-user-list
erc-get-channel-user-list is a byte-compiled function defined in
erc.el.gz.
Signature
(erc-get-channel-user-list)
Documentation
Return a list of users in the current channel.
Each element of the list is of the form (USER . CHANNEL-DATA), where USER is an erc-server-user struct, and CHANNEL-DATA is either nil or an erc-channel-user struct.
See also: erc-sort-channel-users-by-activity.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-get-channel-user-list ()
"Return a list of users in the current channel.
Each element of the list is of the form (USER . CHANNEL-DATA),
where USER is an erc-server-user struct, and CHANNEL-DATA is
either nil or an erc-channel-user struct.
See also: `erc-sort-channel-users-by-activity'."
(let (users)
(if (hash-table-p erc-channel-users)
(maphash (lambda (_nick cdata)
(setq users (cons cdata users)))
erc-channel-users))
users))