summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-09-10 16:20:42 +0300
committerEli Zaretskii <eliz@gnu.org>2018-09-10 16:20:42 +0300
commit7efcdf7b3e70f0334caa328cbb5b05a4e30099bd (patch)
tree8d83d1feb1ad7a5d316639ddf005ac9ef44bc7e3
parent30b0b0e2e20fe2b944aec4be816aab2cf489eb91 (diff)
downloademacs-7efcdf7b3e70f0334caa328cbb5b05a4e30099bd.tar.gz
emacs-7efcdf7b3e70f0334caa328cbb5b05a4e30099bd.tar.bz2
emacs-7efcdf7b3e70f0334caa328cbb5b05a4e30099bd.zip
Clarify completion text in the ELisp manual
* doc/lispref/minibuf.texi (Programmed Completion): Clarify text. Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
-rw-r--r--doc/lispref/minibuf.texi9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi
index 1d1c93dd144..8fac1c3e762 100644
--- a/doc/lispref/minibuf.texi
+++ b/doc/lispref/minibuf.texi
@@ -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