mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-08 13:19:36 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue