mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
; bookmark-jump: Add comment about last change.
This commit is contained in:
parent
f64c2774e9
commit
2f00ffe5f6
1 changed files with 3 additions and 0 deletions
|
@ -1110,6 +1110,9 @@ DISPLAY-FUNC would be `switch-to-buffer-other-window'."
|
||||||
(unless bookmark
|
(unless bookmark
|
||||||
(error "No bookmark specified"))
|
(error "No bookmark specified"))
|
||||||
(bookmark-maybe-historicize-string bookmark)
|
(bookmark-maybe-historicize-string bookmark)
|
||||||
|
;; Don't use `switch-to-buffer' because it would let the
|
||||||
|
;; window-point override the bookmark's point when
|
||||||
|
;; `switch-to-buffer-preserve-window-point' is non-nil.
|
||||||
(bookmark--jump-via bookmark (or display-func 'pop-to-buffer-same-window)))
|
(bookmark--jump-via bookmark (or display-func 'pop-to-buffer-same-window)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue