]> git.eshelyaron.com Git - emacs.git/commitdiff
* bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding same-window-* varia...
authorChong Yidong <cyd@gnu.org>
Sun, 4 Nov 2012 03:25:18 +0000 (11:25 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 4 Nov 2012 03:25:18 +0000 (11:25 +0800)
lisp/ChangeLog
lisp/bookmark.el

index 84d70ccab184607c240023215dd15983580f7dab..ce4919afa2b76383aaa53fb63e605f141a71fa98 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-04  Chong Yidong  <cyd@gnu.org>
+
+       * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
+       same-window-* variables.
+
 2012-11-04  Juri Linkov  <juri@jurta.org>
 
        * isearch.el (isearch-help-for-help, isearch-describe-bindings)
index 78ca6f22c8ed1fd305860eebcbf1470049ee5265..e3fdf1847b81503d12b23da3fe1288f465021c70 100644 (file)
@@ -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."