Variable: compilation-skip-threshold
compilation-skip-threshold is a customizable variable defined in
compile.el.gz.
Value
1
Documentation
Compilation motion commands skip less important messages.
The value can be either 2 -- skip anything less than error, 1 -- skip anything less than warning or 0 -- don't skip any messages. Note that all messages not positively identified as warning or info, are considered errors.
This variable was added, or its default value changed, in Emacs 22.1.
Probably introduced at or before Emacs version 22.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defcustom compilation-skip-threshold 1
"Compilation motion commands skip less important messages.
The value can be either 2 -- skip anything less than error, 1 --
skip anything less than warning or 0 -- don't skip any messages.
Note that all messages not positively identified as warning or
info, are considered errors."
:type '(choice (const :tag "Skip warnings and info" 2)
(const :tag "Skip info" 1)
(const :tag "No skip" 0))
:version "22.1")