]> git.eshelyaron.com Git - emacs.git/commit
Fail earlier if stale Flymake report functions called
authorJoão Távora <joaotavora@gmail.com>
Sat, 10 Apr 2021 10:19:26 +0000 (11:19 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 10 Apr 2021 10:19:34 +0000 (11:19 +0100)
commitc50b5907e0113f7dbb2cc501c54dc365fd01a12b
tree3f401b208b81435afff2d98de301d18f26761ff0
parent0db2126d7176b0bd1b13d4b0d1cd958c8cf55714
Fail earlier if stale Flymake report functions called

If a Flymake backend calls a "stale" report function,
flymake--handle-report might be called for a backend function that is
no longer in the flymake--backend-state hash table.  This patch makes
that erroneous situation slightly more explicit.

* lisp/progmodes/flymake.el (flymake--handle-report): Improve
error reporting.
lisp/progmodes/flymake.el