Function: erc-client-info
erc-client-info is a byte-compiled function defined in erc.el.gz.
Signature
(erc-client-info S)
Documentation
Return CTCP CLIENTINFO on command S.
If S is nil or an empty string then return general CLIENTINFO.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc-client-info (s)
"Return CTCP CLIENTINFO on command S.
If S is nil or an empty string then return general CLIENTINFO."
(if (or (not s) (string= s ""))
(concat
(apply #'concat
(mapcar (lambda (e)
(concat (car e) " "))
erc-clientinfo-alist))
": use CLIENTINFO <COMMAND> to get more specific information")
(let ((h (assoc (upcase s) erc-clientinfo-alist)))
(if h
(concat s " " (cdr h))
(concat s ": unknown command")))))