Function: ff-switch-to-buffer

ff-switch-to-buffer is a byte-compiled function defined in find-file.el.gz.

Signature

(ff-switch-to-buffer BUFFER-OR-NAME &optional IN-OTHER-WINDOW)

Documentation

Like switch-to-buffer, but may show the buffer in another window.

Source Code

;; Defined in /usr/src/emacs/lisp/find-file.el.gz
(defun ff-switch-to-buffer (buffer-or-name &optional in-other-window)
  "Like `switch-to-buffer', but may show the buffer in another window."

  (ff-switch-file #'switch-to-buffer
                  #'switch-to-buffer-other-window
                  buffer-or-name in-other-window nil))