]> git.eshelyaron.com Git - emacs.git/commit
Fix two bugs in removing bookmark fringe marks
authorKarl Fogel <kfogel@red-bean.com>
Mon, 22 Apr 2024 19:45:39 +0000 (14:45 -0500)
committerEshel Yaron <me@eshelyaron.com>
Tue, 23 Apr 2024 10:13:48 +0000 (12:13 +0200)
commite287a39ffa1f3de66968cf15798ac6233db5cf61
tree51261e48b6acc58655b6065a37f12e3e86abf30c
parent88fdc4a3b95cc4366f7ab974b775d0861dcc0463
Fix two bugs in removing bookmark fringe marks

This fixes bug#70019 and a separate fringe-mark removal bug that
also affected bookmarks in certain Info nodes.

* lisp/bookmark.el (bookmark--remove-fringe-mark): Fix bug#70019 by
temporarily widening in order to ensure we fetch the right overlays.
Also, normalize both filenames before comparing, to avoid spurious
failure to match.

Thanks to Dani Moncayo for the bug report and for testing.

(cherry picked from commit 63765a74f15ef22109750414ec3025c8a40039f0)
lisp/bookmark.el