[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 2f00ffe: ; bookmark-jump: Add comment about last
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] emacs-26 2f00ffe: ; bookmark-jump: Add comment about last change. |
Date: |
Tue, 24 Jul 2018 20:16:09 -0400 (EDT) |
branch: emacs-26
commit 2f00ffe5f6938f851b92dee68787f34358a49426
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
; bookmark-jump: Add comment about last change.
---
lisp/bookmark.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 9299ab8..464324c 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -1110,6 +1110,9 @@ DISPLAY-FUNC would be `switch-to-buffer-other-window'."
(unless bookmark
(error "No bookmark specified"))
(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)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 2f00ffe: ; bookmark-jump: Add comment about last change.,
Noam Postavsky <=