; Document 'completing-read-multiple' in the ELisp manual

* doc/lispref/minibuf.texi (Minibuffer Completion): Mention
'completing-read-multiple' (bug#76194).
This commit is contained in:
Eli Zaretskii 2025-02-11 16:42:19 +02:00
parent 37f2551460
commit 737f249aa2

View file

@ -1249,6 +1249,16 @@ different function to completely override the normal behavior of
@code{completing-read}.
@end defvar
@findex completing-read-multiple
@vindex crm-separator
If you need to prompt the user for several strings, like several
elements of a list or several parameters (e.g., user, host, and port) of
a connection, you can use @code{completing-read-multiple}. It allows
typing several strings separated by a separator string (by default, tabs
and commas; customize @code{crm-separator} to change that), and provides
completion for each individual string the user types. It returns the
strings that were read, as a list.
@node Completion Commands
@subsection Minibuffer Commands that Do Completion