Function: projectile--switch-to-buffer

projectile--switch-to-buffer is a byte-compiled function defined in projectile.el.

Signature

(projectile--switch-to-buffer SWITCH-FN)

Documentation

Read a project buffer and display it with SWITCH-FN.

SWITCH-FN is a switch-to-buffer-like command; passing switch-to-buffer-other-window or switch-to-buffer-other-frame yields the other-window/-frame variants.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--switch-to-buffer (switch-fn)
  "Read a project buffer and display it with SWITCH-FN.
SWITCH-FN is a `switch-to-buffer'-like command; passing
`switch-to-buffer-other-window' or `switch-to-buffer-other-frame'
yields the other-window/-frame variants."
  (funcall switch-fn (projectile-read-buffer-to-switch "Switch to buffer: ")))