Function: erc-match-traditional-handler

erc-match-traditional-handler is a byte-compiled function defined in erc-match.el.gz.

Signature

(erc-match-traditional-handler erc-match-traditional-handler X)

Documentation

Access slot "handler" of erc-match-traditional struct X.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-match.el.gz
(cl-defstruct (erc-match-traditional
               (:constructor erc-match-traditional)
               (:include erc-match
                         (handler #'erc-match-highlight)
                         (newlinep t)))
  "Match type for user-option based on \"categories\" and \"parts\".
The `:category' slot exists for the benefit of `erc-text-matched-hook',
which receives its value as a second parameter (the hook only runs when
the slot is non-nil).  For compatibility, the narrowed buffer includes a
trailing newline."
  ( category (error "Keyword `:category' missing") :type symbol
    :documentation "Traditional \\+`match' \"category\", like `pal'.")
  ( face 'erc-default-face :type face
    :documentation "Face to highlight the matched portion with.")
  ( part nil :type symbol
    :documentation "Symbol for the portion of the message to highlight.")
  ( data nil :type list
    :documentation "User-specified patterns or other type-specific data."))