Function: ibuffer-visit-buffer

ibuffer-visit-buffer is an interactive and byte-compiled function defined in ibuffer.el.gz.

Signature

(ibuffer-visit-buffer &optional SINGLE)

Documentation

Visit the buffer on this line.

If optional argument SINGLE is non-nil, then also ensure there is only one window.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/ibuffer.el.gz
(defun ibuffer-visit-buffer (&optional single)
  "Visit the buffer on this line.
If optional argument SINGLE is non-nil, then also ensure there is only
one window."
  (interactive "P")
  (let ((buf (ibuffer-current-buffer t)))
    (switch-to-buffer buf)
    (when single
      (delete-other-windows))))