]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/project.el
Document user-level functions in project.el
[gnu-emacs] / lisp / progmodes / project.el
index 5070bb0c8acabae235513eae592822701b3e3d91..fe28ed776b2147298a84b48455f7f12e1071e0df 100644 (file)
@@ -313,6 +313,10 @@ pattern to search for."
 
 ;;;###autoload
 (defun project-find-file ()
+  "Visit a file in the current project's roots.
+
+This is like `find-file', but it limits the file-name completion
+candidates to the files within the current project roots."
   (interactive)
   (let* ((pr (project-current t))
          (dirs (project-roots pr)))
@@ -320,6 +324,10 @@ pattern to search for."
 
 ;;;###autoload
 (defun project-or-external-find-file ()
+  "Visit a file in the current project's roots or external roots.
+
+This is like `find-file', but it limits the file-name completion
+candidates to the files within the current project roots and external roots."
   (interactive)
   (let* ((pr (project-current t))
          (dirs (append