Function: bs-select-other-window

bs-select-other-window is an interactive and byte-compiled function defined in bs.el.gz.

Signature

(bs-select-other-window)

Documentation

Select current line's buffer by switch-to-buffer-other-window.

The window configuration before starting Buffer Selection Menu will be restored unless there is no other window. In this case a new window will be created. Leave Buffer Selection Menu.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/bs.el.gz
(defun bs-select-other-window ()
  "Select current line's buffer by `switch-to-buffer-other-window'.
The window configuration before starting Buffer Selection Menu will be restored
unless there is no other window.  In this case a new window will be created.
Leave Buffer Selection Menu."
  (interactive)
  (let ((buffer (bs--current-buffer)))
    (bury-buffer (current-buffer))
    (quit-window)
    (switch-to-buffer-other-window buffer)))