[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master fa2c942: Improve docstrings
From: |
Dmitry Gutov |
Subject: |
master fa2c942: Improve docstrings |
Date: |
Sun, 29 Nov 2020 20:33:23 -0500 (EST) |
branch: master
commit fa2c9421760989aef8984d86552194f5a9e97543
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Improve docstrings
* lisp/progmodes/project.el (project-find-file)
(project-or-external-find-file): More accurate docstrings (bug#44588).
---
lisp/progmodes/project.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index a395453..39c3ca8 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -745,7 +745,9 @@ pattern to search for."
;;;###autoload
(defun project-find-file ()
"Visit a file (with completion) in the current project.
-The completion default is the string at point."
+
+The completion default is the filename at point, determined by
+`thing-at-point' (whether such file exists or not)."
(interactive)
(let* ((pr (project-current t))
(dirs (list (project-root pr))))
@@ -754,7 +756,9 @@ The completion default is the string at point."
;;;###autoload
(defun project-or-external-find-file ()
"Visit a file (with completion) in the current project or external roots.
-The completion default is the string at point."
+
+The completion default is the filename at point, determined by
+`thing-at-point' (whether such file exists or not)."
(interactive)
(let* ((pr (project-current t))
(dirs (cons
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master fa2c942: Improve docstrings,
Dmitry Gutov <=