emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b21015c: Clarify project-find-file doc string


From: Lars Ingebrigtsen
Subject: master b21015c: Clarify project-find-file doc string
Date: Thu, 12 Nov 2020 07:36:27 -0500 (EST)

branch: master
commit b21015c9c2e80f7bfd558bf6a43592b60fd53cee
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 a648618..09e60c0 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]