summaryrefslogtreecommitdiff
path: root/lisp/progmodes/prog-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-09-13 18:49:55 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2023-09-13 18:49:55 -0400
commit0065621d0d36112922792d7c46085230e999cba3 (patch)
treec6dc5182920d8475120a53ac3ee630c860b7115f /lisp/progmodes/prog-mode.el
parent6cc6455e931913e42ef844c4a7d6ddcd0bf53788 (diff)
downloademacs-0065621d0d36112922792d7c46085230e999cba3.tar.gz
emacs-0065621d0d36112922792d7c46085230e999cba3.tar.bz2
emacs-0065621d0d36112922792d7c46085230e999cba3.zip
(report_overlay_modification): Fix bug#65929
Somehow the new overlay code in Emacs-29 changed slightly the test to decide when to run the `modification-hooks` of overlays, with the consequence that these hook functions end up being executed also when text is deleted right after an empty overlay, which is contrary to Emacs-28 behavior as well as contrary to the Texinfo doc. * src/buffer.c (report_overlay_modification): Better reproduce the Emacs-28 code. * test/src/buffer-tests.el (overlay-modification-hooks): Add corresponding test.
Diffstat (limited to 'lisp/progmodes/prog-mode.el')
0 files changed, 0 insertions, 0 deletions