1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-27 10:54:40 +00:00

Clarify value returned by programmed completion function.

This commit is contained in:
Richard M. Stallman 1996-09-10 20:02:42 +00:00
parent e4f792588d
commit d595eca0e7

View File

@ -1060,8 +1060,12 @@ A flag specifying the type of operation.
@item
@code{nil} specifies @code{try-completion}. The completion function
should return the completion of the specified string, or @code{t} if the
string is an exact match already, or @code{nil} if the string matches no
possibility.
string is a unique and exact match already, or @code{nil} if the string
matches no possibility.
If the string is an exact match for one possibility, but also matches
other longer possibilities, the function shuold return the string, not
@code{t}.
@item
@code{t} specifies @code{all-completions}. The completion function