erc-kill-buffer-hook

erc-kill-buffer-hook is a variable defined in `erc.el'.
Its value is
nil

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

Documentation:
Hook run whenever a non-server or channel buffer is killed.

See also `kill-buffer'.

You can customize this variable.