]> git.eshelyaron.com Git - emacs.git/commit
Protect Flymake from being corrupted by backends
authorJoão Távora <joaotavora@gmail.com>
Fri, 29 Mar 2019 12:27:11 +0000 (12:27 +0000)
committerJoão Távora <joaotavora@gmail.com>
Tue, 2 Jul 2019 15:10:22 +0000 (16:10 +0100)
commit2a2a1bdb8f0f149aaf736a61685feec9380be1b1
treeada718fcce19130d1c5bc037fc8541000a02bbd2
parent1bf5be5d37f5bd72aecd2ee266d069d9a9cafc10
Protect Flymake from being corrupted by backends

A backend building a diagnostic with a nil :type would cause Flymake
to create a diagnostic without an overlay, confusing Flymake's
accounting of overlays and diagnostics

* lisp/progmodes/flymake.el (flymake--highlight-line): Return
non-nil unconditionally.
lisp/progmodes/flymake.el