Add docstring to project--read-file-cpd-relative

For discussion, see thread starting at:
* lisp/progmodes/project.el (project--read-file-cpd-relative):
Describe arglist as promised by user option
parent 9ed0b558
Pipeline #1685 failed with stage
in 50 minutes and 31 seconds
......@@ -477,6 +477,10 @@ For the arguments list, see `project--read-file-cpd-relative'."
(defun project--read-file-cpd-relative (prompt
all-files &optional predicate
hist default)
"Read a file name, prompting with PROMPT.
ALL-FILES is a list of possible file name completions.
PREDICATE, HIST, and DEFAULT have the same meaning as in
(let* ((common-parent-directory
(let ((common-prefix (try-completion "" all-files)))
(if (> (length common-prefix) 0)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment