compilation-next-error

compilation-next-error is an interactive compiled Lisp function in `compile.el'.


(compilation-next-error N &optional DIFFERENT-FILE PT)

Move point to the next error in the compilation buffer.
This function does NOT find the source line like C-x `.
Prefix arg N says how many error messages to move forwards (or
backwards, if negative).
Optional arg DIFFERENT-FILE, if non-nil, means find next error for a
file that is different from the current one.
Optional arg PT, if non-nil, specifies the value of point to start
looking for the next message.