Function: compilation--note-type
compilation--note-type is a byte-compiled function defined in
compile.el.gz.
Signature
(compilation--note-type TYPE)
Documentation
Note that a new message with severity TYPE was seen.
This updates the appropriate variable used by the mode-line.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defun compilation--note-type (type)
"Note that a new message with severity TYPE was seen.
This updates the appropriate variable used by the mode-line."
(cl-case type
(0 (incf compilation-num-infos-found))
(1 (incf compilation-num-warnings-found))
(2 (incf compilation-num-errors-found))))