Commit a0e4e275 authored by Juri Linkov's avatar Juri Linkov
Browse files

(Buffer-menu-switch-other-window): Bind pop-up-windows to t.

(Buffer-menu-switch-other-window, Buffer-menu-2-window):
Bind same-window-buffer-names and same-window-regexps to nil.
parent a6a2fd5e
2004-12-14 Juri Linkov <juri@jurta.org>
* buff-menu.el (list-buffers-noselect): Collect internal info
for every buffer in BUFFER-LIST arg too.
(Buffer-menu-switch-other-window): Bind pop-up-windows to t.
(Buffer-menu-switch-other-window, Buffer-menu-2-window):
Bind same-window-buffer-names and same-window-regexps to nil.
2004-12-13 Juri Linkov <juri@jurta.org>
* simple.el (next-error-buffer-p, next-error-find-buffer):
......
......@@ -484,14 +484,19 @@ in the selected frame."
"Make the other window select this line's buffer.
The current window remains selected."
(interactive)
(display-buffer (Buffer-menu-buffer t)))
(let ((pop-up-windows t)
same-window-buffer-names
same-window-regexps)
(display-buffer (Buffer-menu-buffer t))))
(defun Buffer-menu-2-window ()
"Select this line's buffer, with previous buffer in second window."
(interactive)
(let ((buff (Buffer-menu-buffer t))
(menu (current-buffer))
(pop-up-windows t))
(pop-up-windows t)
same-window-buffer-names
same-window-regexps)
(delete-other-windows)
(switch-to-buffer (other-buffer))
(pop-to-buffer buff)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment