Variable: erc-ctcp-query-PAGE-hook

erc-ctcp-query-PAGE-hook is a customizable variable defined in erc-page.el.gz.

Value

(erc-ctcp-query-PAGE)

Documentation

List of functions to be called when a CTCP PAGE is received.

This is called from erc-process-ctcp-query. The functions are called with six arguments: PROC NICK LOGIN HOST TO MSG. Note that you can also set erc-page-function to a function, which only gets two arguments, SENDER and MSG, so that might be easier to use.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-page.el.gz
(defcustom erc-ctcp-query-PAGE-hook (list #'erc-ctcp-query-PAGE)
  "List of functions to be called when a CTCP PAGE is received.
This is called from `erc-process-ctcp-query'.  The functions are called
with six arguments: PROC NICK LOGIN HOST TO MSG.  Note that you can
also set `erc-page-function' to a function, which only gets two arguments,
SENDER and MSG, so that might be easier to use."
  :type '(repeat function))