diff options
| author | Richard M. Stallman | 1996-09-10 20:02:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-10 20:02:42 +0000 |
| commit | d595eca0e75840538a490a58f1a3b0c0abdded7b (patch) | |
| tree | 25ed37055dd5c8e49e196a23c73273024a3e7ee8 | |
| parent | e4f792588d111b4b4d6044cd241c63e62bcf0d72 (diff) | |
| download | emacs-d595eca0e75840538a490a58f1a3b0c0abdded7b.tar.gz emacs-d595eca0e75840538a490a58f1a3b0c0abdded7b.zip | |
Clarify value returned by programmed completion function.
| -rw-r--r-- | lispref/minibuf.texi | 8 |
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. | |||
| 1060 | @item | 1060 | @item |
| 1061 | @code{nil} specifies @code{try-completion}. The completion function | 1061 | @code{nil} specifies @code{try-completion}. The completion function |
| 1062 | should return the completion of the specified string, or @code{t} if the | 1062 | should return the completion of the specified string, or @code{t} if the |
| 1063 | string is an exact match already, or @code{nil} if the string matches no | 1063 | string is a unique and exact match already, or @code{nil} if the string |
| 1064 | possibility. | 1064 | matches no possibility. |
| 1065 | |||
| 1066 | If the string is an exact match for one possibility, but also matches | ||
| 1067 | other longer possibilities, the function shuold return the string, not | ||
| 1068 | @code{t}. | ||
| 1065 | 1069 | ||
| 1066 | @item | 1070 | @item |
| 1067 | @code{t} specifies @code{all-completions}. The completion function | 1071 | @code{t} specifies @code{all-completions}. The completion function |