X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/372212dff2e3d84c676dc78ff27d7a0b5ec710de..0877d0dc24ee792b9b14592869ea1aa0934aee58:/lisp/bookmark.el diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 78ca6f22c8..da6ffb3845 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el @@ -1,6 +1,6 @@ ;;; bookmark.el --- set bookmarks, maybe annotate them, jump to them later -;; Copyright (C) 1993-1997, 2001-2012 Free Software Foundation, Inc. +;; Copyright (C) 1993-1997, 2001-2013 Free Software Foundation, Inc. ;; Author: Karl Fogel ;; Maintainer: Karl Fogel @@ -1873,10 +1873,8 @@ With a prefix arg, prompts for a file to save them in." The current window remains selected." (interactive) (let ((bookmark (bookmark-bmenu-bookmark)) - (pop-up-windows t) - same-window-buffer-names - same-window-regexps) - (bookmark--jump-via bookmark 'display-buffer))) + (fun (lambda (b) (display-buffer b t)))) + (bookmark--jump-via bookmark fun))) (defun bookmark-bmenu-other-window-with-mouse (event) "Select bookmark at the mouse pointer in other window, leaving bookmark menu visible."