]> git.eshelyaron.com Git - emacs.git/commitdiff
Clarify completion text in the ELisp manual
authorEli Zaretskii <eliz@gnu.org>
Mon, 10 Sep 2018 13:20:42 +0000 (16:20 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 10 Sep 2018 13:20:42 +0000 (16:20 +0300)
* doc/lispref/minibuf.texi (Programmed Completion): Clarify
text.  Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.

doc/lispref/minibuf.texi

index 1d1c93dd144299758c4f6edba5d524990fd11e8e..8fac1c3e7626b38737d562897ce73a1f3db97f3d 100644 (file)
@@ -1770,12 +1770,9 @@ flag may be one of the following values.
 @table @code
 @item nil
 This specifies a @code{try-completion} operation.  The function should
-return @code{t} if the specified string is a unique and exact match;
-if there is more than one match, it should return the common substring
-of all matches (if the string is an exact match for one completion
-alternative but also matches other longer alternatives, the return
-value is the string); if there are no matches, it should return
-@code{nil}.
+return @code{nil} if there are no matches; it should return @code{t}
+if the specified string is a unique and exact match; and it should
+return the longest common prefix substring of all matches otherwise.
 
 @item t
 This specifies an @code{all-completions} operation.  The function