summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/check-declare.el
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2023-04-27 20:51:07 +0100
committerJoão Távora <joaotavora@gmail.com>2023-04-28 00:39:08 +0100
commit941ef044f2e0607bcaa537fbb56790a512c38782 (patch)
treed37cfa638670f34af66345a65cb95613203ed2c3 /lisp/emacs-lisp/check-declare.el
parenta365984d9e167c4d71a2a44a1abb4710765f460f (diff)
downloademacs-941ef044f2e0607bcaa537fbb56790a512c38782.tar.gz
emacs-941ef044f2e0607bcaa537fbb56790a512c38782.tar.bz2
emacs-941ef044f2e0607bcaa537fbb56790a512c38782.zip
Eglot: fix edge case when deleting inlay hint overlays
When asked to update hints in a region (FROM TO), eglot--update-hints-1 first deletes the existing hints. It must however take care to delete all overlays that logically belong to the region, even if they don't physically belong to it, e.g. inlay overlays spanning (FROM-1 FROM) and having a 'after-string' property. * lisp/progmodes/eglot.el (eglot--update-hints-1): Fix edge case.
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions