From: Richard M. Stallman Date: Tue, 10 Sep 1996 20:02:42 +0000 (+0000) Subject: Clarify value returned by programmed completion function. X-Git-Tag: emacs-20.1~3787 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d595eca0e75840538a490a58f1a3b0c0abdded7b;p=emacs.git Clarify value returned by programmed completion function. --- diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi index 380cbca3aa3..f1d2569a466 100644 --- a/lispref/minibuf.texi +++ b/lispref/minibuf.texi @@ -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