comparison lispref/minibuf.texi @ 16157:1713fe640e41

Clarify value returned by programmed completion function.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 1996 20:02:42 +0000
parents b913a75fddee
children 75913ae7ac7e
comparison
equal deleted inserted replaced
16156:d435199e529d 16157:1713fe640e41
1058 1058
1059 @itemize @bullet 1059 @itemize @bullet
1060 @item 1060 @item
1061 @code{nil} specifies @code{try-completion}. The completion function 1061 @code{nil} specifies @code{try-completion}. The completion function
1062 should return the completion of the specified string, or @code{t} if the 1062 should return the completion of the specified string, or @code{t} if the
1063 string is an exact match already, or @code{nil} if the string matches no 1063 string is a unique and exact match already, or @code{nil} if the string
1064 possibility. 1064 matches no possibility.
1065
1066 If the string is an exact match for one possibility, but also matches
1067 other longer possibilities, the function shuold return the string, not
1068 @code{t}.
1065 1069
1066 @item 1070 @item
1067 @code{t} specifies @code{all-completions}. The completion function 1071 @code{t} specifies @code{all-completions}. The completion function
1068 should return a list of all possible completions of the specified 1072 should return a list of all possible completions of the specified
1069 string. 1073 string.