Improve docstrings
* lisp/progmodes/project.el (project-find-file) (project-or-external-find-file): More accurate docstrings (bug#44588).
This commit is contained in:
parent
41c338474d
commit
fa2c942176
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue