Function: projectile-read-buffer-to-switch

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

Signature

(projectile-read-buffer-to-switch PROMPT)

Documentation

Read the name of a buffer to switch to, prompting with PROMPT.

This function excludes the current buffer from the offered choices.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-read-buffer-to-switch (prompt)
  "Read the name of a buffer to switch to, prompting with PROMPT.

This function excludes the current buffer from the offered
choices."
  (projectile-completing-read
   prompt
   (delete (buffer-name (current-buffer))
           (projectile-project-buffer-names))
   :caller 'projectile-read-buffer))