Variable: erc-button--modify-nick-function

erc-button--modify-nick-function is a variable defined in erc-button.el.gz.

Value

identity

Documentation

Function to possibly modify aspects of nick being buttonized.

Called with one argument, an erc-button--nick object, or nil. The function should return the same (or similar) object when buttonizing ought to proceed and nil otherwise. While running, all faces defined in erc-button are bound temporarily and can be updated at will.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-button.el.gz
;; This variable is intended to serve as a "core" to be wrapped by
;; (built-in) modules during setup.  It's unclear whether
;; `add-function's practice of removing existing advice before
;; re-adding it is desirable when integrating modules since we're
;; mostly concerned with ensuring one "piece" precedes or follows
;; another (specific piece), which may not yet (or ever) be present.

(defvar erc-button--modify-nick-function #'identity
  "Function to possibly modify aspects of nick being buttonized.
Called with one argument, an `erc-button--nick' object, or nil.
The function should return the same (or similar) object when
buttonizing ought to proceed and nil otherwise.  While running,
all faces defined in `erc-button' are bound temporarily and can
be updated at will.")