(Buffer-menu-switch-other-window, Buffer-menu-2-window):
Bind same-window-buffer-names and same-window-regexps to nil.
+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):
"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)