summaryrefslogtreecommitdiff
path: root/lisp/bookmark.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-01-01 06:51:56 +0100
committerStefan Kangas <stefan@marxist.se>2022-01-01 06:51:56 +0100
commit1d92f6094c96de83de8aa3c15a64cef656a63dcc (patch)
treed9ff9d5a2b207f90a7c91020e75929157f9bfe04 /lisp/bookmark.el
parent57753ed76146c14b69716837083842a9c84d5b09 (diff)
parentf2031d0ddb6a21eebbf396094a5c4d4e73019271 (diff)
downloademacs-1d92f6094c96de83de8aa3c15a64cef656a63dcc.tar.gz
emacs-1d92f6094c96de83de8aa3c15a64cef656a63dcc.tar.bz2
emacs-1d92f6094c96de83de8aa3c15a64cef656a63dcc.zip
Merge from origin/emacs-28
f2031d0ddb Minor improvement in user documentation of completion style 1e3076e2db Fix bug where bookmark-jump used (point), not (point-at-bol)
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 f35cbc1a5ec..0c93cec8096 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -1155,7 +1155,7 @@ and then show any annotations for this bookmark."
;; FIXME: we used to only run bookmark-after-jump-hook in
;; `bookmark-jump' itself, but in none of the other commands.
(when bookmark-set-fringe-mark
- (let ((overlays (overlays-in (point) (point)))
+ (let ((overlays (overlays-in (point-at-bol) (1+ (point-at-bol))))
temp found)
(while (and (not found) (setq temp (pop overlays)))
(when (eq 'bookmark (overlay-get temp 'category))