diff options
| author | João Távora | 2023-10-26 14:20:41 +0100 |
|---|---|---|
| committer | João Távora | 2023-10-26 14:21:04 +0100 |
| commit | 309823ff7796416414cee8c6f4d2650615c19f64 (patch) | |
| tree | bd1115635b27cc8b21dbf8e7fa54df9a3d45a214 /java | |
| parent | 7c668eb75b3e59819c9c3ddf00ed38cb89d3ca18 (diff) | |
| download | emacs-309823ff7796416414cee8c6f4d2650615c19f64.tar.gz emacs-309823ff7796416414cee8c6f4d2650615c19f64.zip | |
Flymake: protect against problematic invalid diagnostics
If a backend reports a diagnostic which is out of bounds, it still
lives in flymake--state and will still be cleaned up in the next run
of flymake--publish-diagnostics. But if flymake--highlight-line
doesn't give it an overlay (which it didn't until now), things will
break afterwards.
See bug#66759 and https://github.com/joaotavora/eglot/discussions/1311
* lisp/progmodes/flymake.el (flymake--highlight-line): Set
flymake--diag-overlay earlier.
(Version): Bump to 1.3.7.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions