Fix bug where bookmark-jump used (point), not (point-at-bol)
This matches changes frome852822f3d
, regression in7fe88446c3
. * lisp/bookmark.el (bookmark--jump-via): Look at overlays at BOL. Otherwise the fringe bookmark indication is not deleted with the bookmark. Copyright-paperwork-exempt: yes
This commit is contained in:
parent
06545bc0cc
commit
1e3076e2db
1 changed files with 1 additions and 1 deletions
|
@ -1164,7 +1164,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))
|
||||
|
|
Loading…
Add table
Reference in a new issue