occur-hook

occur-hook is a variable defined in `replace.el'.
Its value is
nil

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

Documentation:
Hook run by Occur when there are any matches.

You can customize this variable.