Commit fa2c9421 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

Improve docstrings

* lisp/progmodes/project.el (project-find-file)
(project-or-external-find-file): More accurate docstrings (bug#44588).
parent 41c33847
Pipeline #7963 passed with stage
in 65 minutes and 33 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment