]> git.eshelyaron.com Git - emacs.git/commit
Avoid adverse side effects of fixing bug#21824
authorEli Zaretskii <eliz@gnu.org>
Sat, 15 Sep 2018 09:21:12 +0000 (12:21 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 Sep 2018 09:21:12 +0000 (12:21 +0300)
commite133b630625d6e5791c8b491c1cf3252cdb97080
tree60821cda0ecd1ee76e5f5ae044471d48c19a8dfd
parentcc8f334d2da736be8935f5abae51f7b1f992b343
Avoid adverse side effects of fixing bug#21824

* test/src/buffer-tests.el
(overlay-modification-hooks-deleted-overlay): New test.

* src/buffer.c (report_overlay_modification): Don't bypass all
the overlay-modification hooks; instead, invoke each function
only if the buffer associated with the overlay is the current
buffer.  (Bug#30823)
src/buffer.c
test/src/buffer-tests.el