diff options
author | Glenn Morris <rgm@gnu.org> | 2018-07-24 06:40:58 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2018-07-24 06:40:58 -0700 |
commit | 64f94785c7ef76de160649054ec970f62af49472 (patch) | |
tree | b35f018eed0daab3427cf240b32770a7b264f713 /lisp/bookmark.el | |
parent | 8c6a50230eda7a0773dcf0e6530d064e28df357c (diff) | |
parent | f64c2774e96c755a5fddcbc49db65dcc3fcb9323 (diff) | |
download | emacs-64f94785c7ef76de160649054ec970f62af49472.tar.gz |
Merge from origin/emacs-26
f64c277 (origin/emacs-26) Let bookmark-jump override window-point (Bu...
1208aaa Omit keymap from subword-mode docstring (Bug#32212)
2b70b54 Prevent line-mode term from showing user passwords
5de4441 Check for special filenames in eshell (Bug#30724)
1b4b965 Fix indent-sexp of #s(...) (Bug#31984)
59e8533 Add save-match-data to abbreviate-file-name (Bug#32201)
47f75b1 Fix last change in editfns.c
671dc5a Fix calls to buffer modification hooks from replace-buffer-co...
cc4ceed ; etc/NEWS: Remove unnecessary reference to a bug number.
e0f33ea Fix Bug#32226
7308fa0 Improve doc strings of several variables in keyboard.c
Diffstat (limited to 'lisp/bookmark.el')
-rw-r--r-- | lisp/bookmark.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 78f3e324034..ea7fcb12467 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -1102,7 +1102,7 @@ BOOKMARK is usually a bookmark name (a string). It can also be a bookmark record, but this is usually only done by programmatic callers. If DISPLAY-FUNC is non-nil, it is a function to invoke to display the -bookmark. It defaults to `switch-to-buffer'. A typical value for +bookmark. It defaults to `pop-to-buffer-same-window'. A typical value for DISPLAY-FUNC would be `switch-to-buffer-other-window'." (interactive (list (bookmark-completing-read "Jump to bookmark" @@ -1110,7 +1110,7 @@ DISPLAY-FUNC would be `switch-to-buffer-other-window'." (unless bookmark (error "No bookmark specified")) (bookmark-maybe-historicize-string bookmark) - (bookmark--jump-via bookmark (or display-func 'switch-to-buffer))) + (bookmark--jump-via bookmark (or display-func 'pop-to-buffer-same-window))) ;;;###autoload |