compilation-skip-visited

compilation-skip-visited is a variable defined in `compile.el'.
Its value is
nil


Documentation:
Compilation motion commands skip visited messages if this is t.
Visited messages are ones for which the file, line and column have been jumped
to from the current content in the current compilation buffer, even if it was
from a different message.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 22.1 of Emacs.