aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2020-11-12 13:36:19 +0100
committerLars Ingebrigtsen2020-11-12 13:36:19 +0100
commitb21015c9c2e80f7bfd558bf6a43592b60fd53cee (patch)
tree17fa159b02c943bebb3cd4d16772d4e4bc08aadc
parent1ac47aac0855c2a57112456537f621eb1a6f8eaa (diff)
downloademacs-b21015c9c2e80f7bfd558bf6a43592b60fd53cee.tar.gz
emacs-b21015c9c2e80f7bfd558bf6a43592b60fd53cee.zip
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).
-rw-r--r--lisp/progmodes/project.el3
1 files changed, 1 insertions, 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."
745;;;###autoload 745;;;###autoload
746(defun project-find-file () 746(defun project-find-file ()
747 "Visit a file (with completion) in the current project. 747 "Visit a file (with completion) in the current project.
748The completion default is the filename at point, if one is 748The completion default is the string at point."
749recognized."
750 (interactive) 749 (interactive)
751 (let* ((pr (project-current t)) 750 (let* ((pr (project-current t))
752 (dirs (list (project-root pr)))) 751 (dirs (list (project-root pr))))