compilation-goto-locus

compilation-goto-locus is a compiled Lisp function in `compile.el'.

(compilation-goto-locus MSG MK END-MK)

Jump to an error corresponding to MSG at MK.
All arguments are markers. If END-MK is non-nil, mark is set there
and overlay is highlighted between MK and END-MK.