diff options
Diffstat (limited to 'doc/misc/flymake.texi')
-rw-r--r-- | doc/misc/flymake.texi | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index 03d296a1d42..c7c46896709 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi @@ -115,11 +115,11 @@ Syntax checks happen ``on-the-fly''. Each check is started whenever: @itemize @bullet @item @code{flymake-mode} is started, unless -@code{flymake-start-on-flymake-mode} is nil; +@code{flymake-start-on-flymake-mode} is @code{nil}; @item the buffer is saved, unless @code{flymake-start-on-save-buffer} is -nil; +@code{nil}; @item some changes were made to the buffer more than @code{0.5} seconds ago @@ -876,13 +876,18 @@ Patterns for error/warning messages in the form @code{(regexp file-idx line-idx col-idx err-text-idx)}. @xref{Parsing the output}. @item flymake-proc-diagnostic-type-pred -A function to classify a diagnostic text as particular type of error. -Should be a function taking an error text and returning a diagnostic -symbol (@pxref{Flymake error types}). If non-@code{nil} is returned but -there is no such symbol in that table, a warning is assumed. If nil -is returned, an error is assumed. Can also be a regular expression -that should match only warnings. This variable replaces the old -@code{flymake-warning-re} and @code{flymake-warning-predicate}. +A function to classify a diagnostic text as a particular type of +error. The value of this variable should be a function taking an +error text and returning a diagnostic symbol (@pxref{Flymake error +types}). If it returns a non-@code{nil} value but there is no such +symbol in that table, the text is interpreted as a warning. If the +function returns @code{nil}, the text is assumed to be an error. + +The value of this variable can alternatively be a regular expression +that should match only warnings. + +This variable replaces the old @code{flymake-warning-re} and +@code{flymake-warning-predicate}. @item flymake-proc-compilation-prevents-syntax-check A flag indicating whether compilation and syntax check of the same |