aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBasil L. Contovounesios2019-05-16 23:26:27 +0100
committerBasil L. Contovounesios2019-05-16 23:26:27 +0100
commitb2c0eb63dd1f0d68de9bf7f14cc337df51617dcc (patch)
treee4293cacb8a3b80d7f334d0f9e002a9ce0134876
parent9ed0b55848ce8a3049fd82e42cd9ea274410d426 (diff)
downloademacs-b2c0eb63dd1f0d68de9bf7f14cc337df51617dcc.tar.gz
emacs-b2c0eb63dd1f0d68de9bf7f14cc337df51617dcc.zip
Add docstring to project--read-file-cpd-relative
For discussion, see thread starting at: https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00460.html * lisp/progmodes/project.el (project--read-file-cpd-relative): Describe arglist as promised by user option project-read-file-name-function.
-rw-r--r--lisp/progmodes/project.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index eab508af3ac..cc45a71f576 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -477,6 +477,10 @@ For the arguments list, see `project--read-file-cpd-relative'."
477(defun project--read-file-cpd-relative (prompt 477(defun project--read-file-cpd-relative (prompt
478 all-files &optional predicate 478 all-files &optional predicate
479 hist default) 479 hist default)
480 "Read a file name, prompting with PROMPT.
481ALL-FILES is a list of possible file name completions.
482PREDICATE, HIST, and DEFAULT have the same meaning as in
483`completing-read'."
480 (let* ((common-parent-directory 484 (let* ((common-parent-directory
481 (let ((common-prefix (try-completion "" all-files))) 485 (let ((common-prefix (try-completion "" all-files)))
482 (if (> (length common-prefix) 0) 486 (if (> (length common-prefix) 0)