emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110792: * bookmark.el (bookmark-bmen


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110792: * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding same-window-* variables.
Date: Sun, 04 Nov 2012 11:25:18 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110792
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sun 2012-11-04 11:25:18 +0800
message:
  * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding 
same-window-* variables.
modified:
  lisp/ChangeLog
  lisp/bookmark.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-11-04 03:24:00 +0000
+++ b/lisp/ChangeLog    2012-11-04 03:25:18 +0000
@@ -1,3 +1,8 @@
+2012-11-04  Chong Yidong  <address@hidden>
+
+       * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
+       same-window-* variables.
+
 2012-11-04  Juri Linkov  <address@hidden>
 
        * isearch.el (isearch-help-for-help, isearch-describe-bindings)

=== modified file 'lisp/bookmark.el'
--- a/lisp/bookmark.el  2012-10-26 17:20:54 +0000
+++ b/lisp/bookmark.el  2012-11-04 03:25:18 +0000
@@ -1873,10 +1873,8 @@
 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."


reply via email to

[Prev in Thread] Current Thread [Next in Thread]