aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorNoam Postavsky2018-07-24 18:45:43 -0400
committerNoam Postavsky2018-07-24 20:13:55 -0400
commit2f00ffe5f6938f851b92dee68787f34358a49426 (patch)
tree7cb544e30857645910c42b2d84628163a3eb1ba4 /lisp
parentf64c2774e96c755a5fddcbc49db65dcc3fcb9323 (diff)
downloademacs-2f00ffe5f6938f851b92dee68787f34358a49426.tar.gz
emacs-2f00ffe5f6938f851b92dee68787f34358a49426.zip
; bookmark-jump: Add comment about last change.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/bookmark.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 9299ab8850f..464324cea01 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -1110,6 +1110,9 @@ DISPLAY-FUNC would be `switch-to-buffer-other-window'."
1110 (unless bookmark 1110 (unless bookmark
1111 (error "No bookmark specified")) 1111 (error "No bookmark specified"))
1112 (bookmark-maybe-historicize-string bookmark) 1112 (bookmark-maybe-historicize-string bookmark)
1113 ;; Don't use `switch-to-buffer' because it would let the
1114 ;; window-point override the bookmark's point when
1115 ;; `switch-to-buffer-preserve-window-point' is non-nil.
1113 (bookmark--jump-via bookmark (or display-func 'pop-to-buffer-same-window))) 1116 (bookmark--jump-via bookmark (or display-func 'pop-to-buffer-same-window)))
1114 1117
1115 1118