next-error-hook

next-error-hook is a variable defined in `simple.el'.
Its value is
nil

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

Documentation:
List of hook functions run by `next-error' after visiting source file.

You can customize this variable.