Mercurial > emacs
changeset 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 | d435199e529d |
children | af6ef293cb42 |
files | lispref/minibuf.texi |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/minibuf.texi Tue Sep 10 20:00:25 1996 +0000 +++ b/lispref/minibuf.texi Tue Sep 10 20:02:42 1996 +0000 @@ -1060,8 +1060,12 @@ @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