summaryrefslogtreecommitdiff
path: root/lisp/bookmark.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2021-10-16 09:18:37 -0700
committerGlenn Morris <rgm@gnu.org>2021-10-16 09:18:37 -0700
commit536968304bd2ab70819b2920fc015e4bf9330636 (patch)
tree9a3936312a2e00c0b15888a59a4273425dc2ba18 /lisp/bookmark.el
parentffff168d5fb14fbfa74f7c04fab0235a14bb7e64 (diff)
parente8488808dfe1460ce07042a1a523097ab90cf079 (diff)
downloademacs-536968304bd2ab70819b2920fc015e4bf9330636.tar.gz
Merge from origin/emacs-28
e8488808df Avoid aborts when a thread is signaled while "waiting for ... 21397cce51 Improve documentation string for 'compilation-error-regexp... 2971a6890f * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix t... e842d7f29a Fix removal of fringe indication of bookmarks b5a0eda978 Prefer "graphical displays" to "X terminals" in documentation 4ad0fc0dd0 Precise documentation of file-notify-add-watch f5b8df14c6 Fixes to account for windows' tab lines ced72b6e4c * Fix `native-compile-target-directory' effectiveness on t... 502788bc3d Add missing single quotes in the Emacs manual 1af45ad04e ; * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix... 12654b7423 * lisp/menu-bar.el (yank-menu-length): Fix docstring (bug#... # Conflicts: # lisp/gnus/gnus-undo.el # lisp/menu-bar.el
Diffstat (limited to 'lisp/bookmark.el')
-rw-r--r--lisp/bookmark.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 5c4a9803b39..22520ebb7af 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -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))))))))))