erc-mode-hook

erc-mode-hook is a variable defined in `erc.el'.
Its value is

(erc-munge-invisibility-spec erc-move-to-prompt-setup pcomplete-erc-setup erc-button-setup erc-imenu-setup)

Original value was

  • This variable may be risky if used as a file-local variable.

Documentation:
Hook run after entering ERC mode.
No problems result if this variable is not bound.
`add-hook' automatically binds it. (This is true for all hook variables.)

You can customize this variable.