Cleanup stale diagnostics on Flymake restart
authorJoão Távora <joaotavora@gmail.com>
Sun, 10 Feb 2019 12:05:52 +0000 (12:05 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sun, 10 Feb 2019 12:06:24 +0000 (12:06 +0000)
commitb78363eb0f51126b2c22d26ea1b91f6e4569e167
tree885a218bc4ee01851dd6476ee470103bbb45d446
parentf8e9da8bb6424215924b0de008b87c0c28fa930a
Cleanup stale diagnostics on Flymake restart

Not doing so would cause duplicate diagnostics.  See
https://github.com/joaotavora/eglot/issues/223 for an example.

* lisp/progmodes/flymake.el (Version): 1.0.4
(flymake-mode): Cleanup overlays before starting Flymake.
lisp/progmodes/flymake.el