aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorJoão Távora2019-11-02 15:53:45 +0000
committerJoão Távora2019-11-02 15:56:19 +0000
commitb32c4d7bac8e0b3642d8ad90ee40a44466e29aad (patch)
treee359ac2fbc7cc9ad2f7a237c7b79f7a02a91e1a8 /doc/misc
parent3937c9f6e23b92ed5d7e6d42b8bf00101628af00 (diff)
downloademacs-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.texi4
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}.
543Make a Flymake diagnostic for @var{buffer}'s region from @var{beg} to 543Make 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
545types}), and @var{text} is a description of the problem detected in 545types}), and @var{text} is a description of the problem detected in
546this region. 546this region. Currently, it is unspecified behaviour to make
547diagnostics for buffers other than the buffer that the Flymake backend
548is responsible for.
547@end deffn 549@end deffn
548 550
549@cindex access diagnostic object 551@cindex access diagnostic object