Function: Buffer-menu-2-window
Buffer-menu-2-window is an interactive and byte-compiled function
defined in buff-menu.el.gz.
Signature
(Buffer-menu-2-window)
Documentation
Select this line's buffer, with previous buffer in second window.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/buff-menu.el.gz
(defun Buffer-menu-2-window ()
"Select this line's buffer, with previous buffer in second window."
(interactive nil Buffer-menu-mode)
(let ((buff (Buffer-menu-buffer t))
(menu (current-buffer)))
(delete-other-windows)
(switch-to-buffer (other-buffer))
(switch-to-buffer-other-window buff)
(bury-buffer menu)))