]> code.delx.au - gnu-emacs/commitdiff
Clarify value returned by programmed completion function.
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 20:02:42 +0000 (20:02 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 20:02:42 +0000 (20:02 +0000)
lispref/minibuf.texi

index 380cbca3aa38560fdb0e013a6ed4cfe6661b9e98..f1d2569a4660a15097e15f6000f4891411882caf 100644 (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