Variable: erc--cmem-from-nick-function

erc--cmem-from-nick-function is a variable defined in erc.el.gz.

Value

erc--cmem-get-existing

Documentation

Function maybe returning a "channel member" cons from a nick.

Must return either nil or a cons of an erc-server-user and an erc-channel-user (see erc-channel-users) for use in formatting a user's nick prior to insertion. Called in the appropriate target buffer with the downcased nick, the parsed NUH, and the current erc-response object.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defvar erc--cmem-from-nick-function #'erc--cmem-get-existing
  "Function maybe returning a \"channel member\" cons from a nick.
Must return either nil or a cons of an `erc-server-user' and an
`erc-channel-user' (see `erc-channel-users') for use in
formatting a user's nick prior to insertion.  Called in the
appropriate target buffer with the downcased nick, the parsed
NUH, and the current `erc-response' object.")