]> git.eshelyaron.com Git - emacs.git/commit
Flymake: promptly delete eol overlay if source overlay changed
authorJoão Távora <joaotavora@gmail.com>
Tue, 29 Apr 2025 11:34:10 +0000 (12:34 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 1 May 2025 05:40:00 +0000 (07:40 +0200)
commit4b584f14e53513727e1762b28f62b21875a54cec
tree8fe79e1657a5d5d3820f520ab9209a861e4ba9ac
parent2fe00e6356f887773869549f99bb251ae30eab54
Flymake: promptly delete eol overlay if source overlay changed

In the vast majority of cases, changing the source overlay
invalidates the content of the end-of-line overlay, so best to
delete it asap.

* lisp/progmodes/flymake.el (flymake--delete-overlay): Use
'flymake--eol-ov'
(flymake--highlight-line): Use some overlay modification hooks.

(cherry picked from commit 825ea052ad5638c056037c4cac92c9e666dc3820)
lisp/progmodes/flymake.el