From b21015c9c2e80f7bfd558bf6a43592b60fd53cee Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 12 Nov 2020 13:36:19 +0100 Subject: [PATCH] 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). --- lisp/progmodes/project.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index a648618e828..09e60c09acd 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -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)))) -- 2.39.2