summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-10 20:02:42 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-10 20:02:42 +0000
commit64fa4901500eb4c0e2259ab5044006aa161a2b3b (patch)
tree0ca82593ce678fdaa34dc46175bb457abc2c57fe /lispref
parent703f354890d114a5a1b2050834d3d9cb5205ea8a (diff)
downloademacs-64fa4901500eb4c0e2259ab5044006aa161a2b3b.tar.gz
Clarify value returned by programmed completion function.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/minibuf.texi8
1 files changed, 6 insertions, 2 deletions
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