Variable: flymake-warning-re

flymake-warning-re is an alias for flymake-proc-diagnostic-type-pred, defined in flymake-proc.el.gz.

This variable is obsolete since 26.1; use flymake-proc-diagnostic-type-pred instead.

Value

flymake-proc-default-guess

Documentation

Predicate matching against diagnostic text to detect its type.

Takes a single argument, the diagnostic's text and should return a diagnostic symbol naming a type. If the returned value is nil, a type of :error is assumed. For some backward compatibility, if a non-nil value is returned that doesn't name a type,
:warning is assumed.

Instead of a function, it can also be a string, a regular expression. A match indicates :warning type, otherwise
:error

Aliases

flymake-warning-re (obsolete since 26.1)