Function: pcomplete-erc-all-nicks

pcomplete-erc-all-nicks is an autoloaded and byte-compiled function defined in erc-pcomplete.el.gz.

Signature

(pcomplete-erc-all-nicks &optional POSTFIX)

Documentation

Return a list of all nicks on the current server.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-pcomplete.el.gz
(defun pcomplete-erc-all-nicks (&optional postfix)
  "Return a list of all nicks on the current server."
  (let (nicks)
    (erc-with-server-buffer
      (maphash (lambda (_nick user)
                 (setq nicks (cons
                              (concat (erc-server-user-nickname user) postfix)
                              nicks)))
               erc-server-users))
    nicks))