first-error

first-error is an interactive compiled Lisp function in `simple.el'.


(first-error &optional N)

Restart at the first error.
Visit corresponding source code.
With prefix arg N, visit the source code of the Nth error.
This operates on the output from the M-x compile command, for instance.