Function: project-switch-to-buffer
project-switch-to-buffer is an autoloaded, interactive and
byte-compiled function defined in project.el.gz.
Signature
(project-switch-to-buffer BUFFER-OR-NAME)
Documentation
Display buffer BUFFER-OR-NAME in the selected window.
When called interactively, prompts for a buffer belonging to the
current project. Two buffers belong to the same project if their
project instances, as reported by project-current in each
buffer, are identical.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
;;;###autoload
(defun project-switch-to-buffer (buffer-or-name)
"Display buffer BUFFER-OR-NAME in the selected window.
When called interactively, prompts for a buffer belonging to the
current project. Two buffers belong to the same project if their
project instances, as reported by `project-current' in each
buffer, are identical."
(interactive (list (project--read-project-buffer)))
(switch-to-buffer buffer-or-name))