aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2016-01-09 21:45:33 +0200
committerEli Zaretskii2016-01-09 21:45:33 +0200
commitcc140bcec665163790a8a15845f16dca39525425 (patch)
treefd37bf84e4061d4977f0831f5a1bcce664841fb8 /lisp
parentf8208b69192359a97735d461f05060f6579df0f2 (diff)
downloademacs-cc140bcec665163790a8a15845f16dca39525425.tar.gz
emacs-cc140bcec665163790a8a15845f16dca39525425.zip
Document user-level functions in project.el
* lisp/progmodes/project.el (project-find-file) (project-or-external-find-file): Add doc strings.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/project.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 5070bb0c8ac..fe28ed776b2 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -313,6 +313,10 @@ pattern to search for."
313 313
314;;;###autoload 314;;;###autoload
315(defun project-find-file () 315(defun project-find-file ()
316 "Visit a file in the current project's roots.
317
318This is like `find-file', but it limits the file-name completion
319candidates to the files within the current project roots."
316 (interactive) 320 (interactive)
317 (let* ((pr (project-current t)) 321 (let* ((pr (project-current t))
318 (dirs (project-roots pr))) 322 (dirs (project-roots pr)))
@@ -320,6 +324,10 @@ pattern to search for."
320 324
321;;;###autoload 325;;;###autoload
322(defun project-or-external-find-file () 326(defun project-or-external-find-file ()
327 "Visit a file in the current project's roots or external roots.
328
329This is like `find-file', but it limits the file-name completion
330candidates to the files within the current project roots and external roots."
323 (interactive) 331 (interactive)
324 (let* ((pr (project-current t)) 332 (let* ((pr (project-current t))
325 (dirs (append 333 (dirs (append