Function: projectile-switch-to-buffer-in-projects
projectile-switch-to-buffer-in-projects is an autoloaded and
byte-compiled function defined in projectile.el.
Signature
(projectile-switch-to-buffer-in-projects PROJECTS &optional PROMPT)
Documentation
Switch to a buffer belonging to any of PROJECTS.
PROMPT overrides the completion prompt. The current buffer is left out
of the choices, as projectile-switch-to-buffer does.
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload
(defun projectile-switch-to-buffer-in-projects (projects &optional prompt)
"Switch to a buffer belonging to any of PROJECTS.
PROMPT overrides the completion prompt. The current buffer is left out
of the choices, as `projectile-switch-to-buffer' does."
(switch-to-buffer
(projectile-completing-read
(or prompt "Switch to buffer: ")
(delete (buffer-name (current-buffer))
(mapcar #'buffer-name (projectile-project-group-buffers projects)))
:category 'buffer
:caller 'projectile-read-buffer)))