next-error-follow-minor-mode
next-error-follow-minor-mode is an interactive compiled Lisp function in `simple.el
'.
(next-error-follow-minor-mode &optional ARG)
Minor mode for compilation, occur and diff modes.
With a prefix argument ARG, enable mode if ARG is positive, and
disable it otherwise. If called from Lisp, enable mode if ARG is
omitted or nil.
When turned on, cursor motion in the compilation, grep, occur or diff
buffer causes automatic display of the corresponding source code location.