Function: erc-cmd-NAMES
erc-cmd-NAMES is a byte-compiled function defined in erc.el.gz.
Signature
(erc-cmd-NAMES &optional CHANNEL)
Documentation
Display the users in CHANNEL.
If CHANNEL is not specified, display the users in the current channel. This function clears the channel name list first, then sends the command.
Aliases
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-cmd-NAMES (&optional channel)
"Display the users in CHANNEL.
If CHANNEL is not specified, display the users in the current channel.
This function clears the channel name list first, then sends the
command."
(let ((tgt (or (and (erc-channel-p channel) channel)
(erc-default-target))))
(if (and tgt (erc-channel-p tgt))
(progn
(erc-log (format "cmd: DEFAULT: NAMES %s" tgt))
(erc-with-buffer
(tgt)
(erc-channel-begin-receiving-names))
(erc-server-send (concat "NAMES " tgt)))
(erc-display-message nil 'error (current-buffer) 'no-default-channel)))
t)