Clarify project-find-file doc string

* lisp/progmodes/project.el (project-find-file): Don't say
anything about recognizing file names, as that may lead the user
to think that it'll check whether the string at point is an
existing file (bug#44588).
This commit is contained in:
Lars Ingebrigtsen 2020-11-12 13:36:19 +01:00
parent 1ac47aac08
commit b21015c9c2

View file

@ -745,8 +745,7 @@ pattern to search for."
;;;###autoload
(defun project-find-file ()
"Visit a file (with completion) in the current project.
The completion default is the filename at point, if one is
recognized."
The completion default is the string at point."
(interactive)
(let* ((pr (project-current t))
(dirs (list (project-root pr))))