X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/99a33b77e15b9a075024701d060d912b2fd87caf..22bcf2046977620a7f37bbd4dff4be4a4fffc0ed:/lisp/bookmark.el diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 184cecb9e9..4d93e01fb2 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -83,7 +83,7 @@ To specify the file in which to save them, modify the variable "The `.emacs.bmk' file used to be called this name.") -;; defvarred to avoid a compilation warning: +;; defvared to avoid a compilation warning: (defvar bookmark-file nil "Old name for `bookmark-default-file'.") @@ -1539,9 +1539,7 @@ deletion, or > if it is flagged for displaying." (bookmark-maybe-load-default-file) (let ((buf (get-buffer-create "*Bookmark List*"))) (if (called-interactively-p 'interactive) - (if (or (window-dedicated-p) (window-minibuffer-p)) - (pop-to-buffer buf) - (switch-to-buffer buf)) + (switch-to-buffer buf) (set-buffer buf))) (let ((inhibit-read-only t)) (erase-buffer) @@ -1843,7 +1841,7 @@ With a prefix arg, prompts for a file to save them in." (menu (current-buffer)) (pop-up-windows t)) (delete-other-windows) - (switch-to-buffer (other-buffer)) + (switch-to-buffer (other-buffer) nil t) (bookmark--jump-via bmrk 'pop-to-buffer) (bury-buffer menu)))