Flymake backends must check proc obsoleteness in source buffer
commit234b1e3864b8b940f72f3727fe7087cf7e90b43d
authorJoão Távora <joaotavora@gmail.com>
Thu, 19 Oct 2017 23:50:34 +0000 (20 00:50 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 19 Oct 2017 23:50:34 +0000 (20 00:50 +0100)
tree4b0e1ce6747f64f517700aaa334cddf21364e410
parent3ea6a4d4baf67ae88dc8041c6247e9f0e3cd1eab
Flymake backends must check proc obsoleteness in source buffer

Flymake backends that rely on sentinels running asynchronously and
checking buffer-local variables that hold running processes should
check for obsoleteness in the correct buffers, otherwise a (harmless)
warning might be triggered.

* doc/misc/flymake.texi (An annotated example backend):
Check buffer-local proc in the current buffer.

* lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile):
Check buffer-local proc in the current buffer.
doc/misc/flymake.texi
lisp/progmodes/elisp-mode.el