mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-09 15:50:21 +00:00
Fix removal of fringe indication of bookmarks
* lisp/bookmark.el (bookmark--remove-fringe-mark): Fix off-by-one error in looking for bookmark-related overlays. (Bug#51233)
This commit is contained in:
parent
b5a0eda978
commit
e842d7f29a
@ -479,7 +479,7 @@ See user option `bookmark-set-fringe'."
|
||||
(dolist (buf (buffer-list))
|
||||
(with-current-buffer buf
|
||||
(when (equal filename buffer-file-name)
|
||||
(setq overlays (overlays-in pos pos))
|
||||
(setq overlays (overlays-in pos (1+ pos)))
|
||||
(while (and (not found) (setq temp (pop overlays)))
|
||||
(when (eq 'bookmark (overlay-get temp 'category))
|
||||
(delete-overlay (setq found temp))))))))))
|
||||
|
Loading…
Reference in New Issue
Block a user