diff options
| author | João Távora | 2019-11-02 15:53:45 +0000 |
|---|---|---|
| committer | João Távora | 2019-11-02 15:56:19 +0000 |
| commit | b32c4d7bac8e0b3642d8ad90ee40a44466e29aad (patch) | |
| tree | e359ac2fbc7cc9ad2f7a237c7b79f7a02a91e1a8 /doc/misc | |
| parent | 3937c9f6e23b92ed5d7e6d42b8bf00101628af00 (diff) | |
| download | emacs-b32c4d7bac8e0b3642d8ad90ee40a44466e29aad.tar.gz emacs-b32c4d7bac8e0b3642d8ad90ee40a44466e29aad.zip | |
Clarify consequences of mismatching Flymake diagnostic buffers
Fix bug#34418.
* doc/misc/flymake.texi (Flymake utility functions): Add note to
flymake-make-diagnostic.
* lisp/progmodes/flymake.el (flymake--handle-report): Discard
diagnostics from other buffers.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/flymake.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index ebb89c32036..cedf1d84f90 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi | |||
| @@ -543,7 +543,9 @@ by calling the function @code{flymake-make-diagnostic}. | |||
| 543 | Make a Flymake diagnostic for @var{buffer}'s region from @var{beg} to | 543 | Make a Flymake diagnostic for @var{buffer}'s region from @var{beg} to |
| 544 | @var{end}. @var{type} is a diagnostic symbol (@pxref{Flymake error | 544 | @var{end}. @var{type} is a diagnostic symbol (@pxref{Flymake error |
| 545 | types}), and @var{text} is a description of the problem detected in | 545 | types}), and @var{text} is a description of the problem detected in |
| 546 | this region. | 546 | this region. Currently, it is unspecified behaviour to make |
| 547 | diagnostics for buffers other than the buffer that the Flymake backend | ||
| 548 | is responsible for. | ||
| 547 | @end deffn | 549 | @end deffn |
| 548 | 550 | ||
| 549 | @cindex access diagnostic object | 551 | @cindex access diagnostic object |