Variable: erc-send-modify-hook

erc-send-modify-hook is a customizable variable defined in erc.el.gz.

Value

nil

Documentation

Sending hook for functions that will change the text's appearance.

This hook is called just after erc-send-pre-hook when the values of erc-send-this and erc-insert-this are both t. While this hook is run, narrowing is in effect and current-buffer is the buffer where the text got inserted.

Note that no function in this hook can change the appearance of the text that is sent. Only changing the sent text's appearance on the sending user's screen is possible. One possible value to add here is erc-fill.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defcustom erc-send-modify-hook nil
  "Sending hook for functions that will change the text's appearance.
This hook is called just after `erc-send-pre-hook' when the values
of `erc-send-this' and `erc-insert-this' are both t.
While this hook is run, narrowing is in effect and `current-buffer' is
the buffer where the text got inserted.

Note that no function in this hook can change the appearance of the
text that is sent.  Only changing the sent text's appearance on the
sending user's screen is possible.  One possible value to add here
is `erc-fill'."
  :group 'erc-hooks
  :type 'hook)