summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-10-16 12:38:36 +0300
committerEli Zaretskii <eliz@gnu.org>2015-10-16 12:38:36 +0300
commitd05410f349661768845a8c16a9d473b175d6a1de (patch)
tree95725c28b367bd0c661cf3b7cd6caeea62ff6a71 /src/minibuf.c
parent3000d33c5db303efe377b3e21c9c748e7ac750a0 (diff)
downloademacs-d05410f349661768845a8c16a9d473b175d6a1de.tar.gz
Improve documentation of COLLECTION in completion functions
* doc/lispref/minibuf.texi (Minibuffer Completion): Add a cross-reference to "Programmed Completion". * src/minibuf.c (Fcompleting_read): Improve the doc string. (Bug#21644)
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 2cde8b097be..e149e819413 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1595,8 +1595,11 @@ PROMPT is a string to prompt with; normally it ends in a colon and a space.
COLLECTION can be a list of strings, an alist, an obarray or a hash table.
COLLECTION can also be a function to do the completion itself.
PREDICATE limits completion to a subset of COLLECTION.
-See Info node `(elisp)Basic Completion' for more details
- on completion, COLLECTION, and PREDICATE.
+See `try-completion', `all-completions', `test-completion',
+and `completion-boundaries', for more details on completion,
+COLLECTION, and PREDICATE. See also Info nodes `(elisp)Basic Completion'
+for the details about completion, and `(elisp)Programmed Completion' for
+expectations from COLLECTION when it's a function.
REQUIRE-MATCH can take the following values:
- t means that the user is not allowed to exit unless