compilation-auto-jump-to-first-error
compilation-auto-jump-to-first-error is a variable defined in `compile.el
'.
Its value is nilDocumentation: If non-nil, automatically jump to the first error during compilation. You can customize this variable. This variable was introduced, or its default value was changed, in version 23.1 of Emacs.