Function: project-find-file
project-find-file is an autoloaded, interactive and byte-compiled
function defined in project.el.gz.
Signature
(project-find-file)
Documentation
Visit a file (with completion) in the current project.
The filename at point (determined by thing-at-point), if any,
is available as part of "future history".
Probably introduced at or before Emacs version 25.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
;;;###autoload
(defun project-find-file ()
"Visit a file (with completion) in the current project.
The filename at point (determined by `thing-at-point'), if any,
is available as part of \"future history\"."
(interactive)
(let* ((pr (project-current t))
(dirs (list (project-root pr))))
(project-find-file-in (thing-at-point 'filename) dirs pr)))