1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

* bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding same-window-* variables.

This commit is contained in:
Chong Yidong 2012-11-04 11:25:18 +08:00
parent 85178ca136
commit 2cbafa5672
2 changed files with 7 additions and 4 deletions

View 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)

View 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."