emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug-fix for deleting bookmarks failure to remove the fringe-overlay afte


From: Campbell Barton
Subject: Bug-fix for deleting bookmarks failure to remove the fringe-overlay after jumping
Date: Thu, 30 Dec 2021 17:32:17 +1100

Using `bookmark-jump` would add duplicate overlays when bookmarks were
not at the line beginning
since it checked for an existing overlay at (point), not (point-bol).

This was noticeable when removing the bookmark as the overlay was kept
since removing the overlay only removes one overlay (although it
checks all overlays on the line).

To redo the bug:

- Add a bookmark that isn't at the beginning of the line.
- Jump to this bookmark.
- Delete the bookmark.
- Notice the overlay is not removed.


-- 
- Campbell

Attachment: emacs-fix-bookmark-fringe-update-error.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]