Function: projectile-session-switch-to-buffer
projectile-session-switch-to-buffer is an autoloaded, interactive and
byte-compiled function defined in projectile.el.
Signature
(projectile-session-switch-to-buffer)
Documentation
Switch to a buffer belonging to the current tab's project.
Complete over just the buffers of the project bound to the current tab.
When the current tab holds no project, fall back to the plain
switch-to-buffer.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload
(defun projectile-session-switch-to-buffer ()
"Switch to a buffer belonging to the current tab's project.
Complete over just the buffers of the project bound to the current tab.
When the current tab holds no project, fall back to the plain
`switch-to-buffer'."
(interactive)
(let ((root (projectile-session--tab-root (projectile-session--current-tab))))
(if root
(switch-to-buffer
(projectile-completing-read
"Switch to project buffer: "
(mapcar #'buffer-name (projectile-project-buffers root))))
(call-interactively #'switch-to-buffer))))