REQUIRE-MATCH doc string clarification
* src/minibuf.c (Fcompleting_read): * lisp/minibuffer.el (read-file-name): Clarify what the return value is in the REQUIRE-MATCH function case.
This commit is contained in:
parent
6b2a9171b8
commit
782e48b3db
2 changed files with 6 additions and 4 deletions
|
@ -3160,8 +3160,9 @@ Fourth arg MUSTMATCH can take the following values:
|
|||
input, but she needs to confirm her choice if she called
|
||||
`minibuffer-complete' right before `minibuffer-complete-and-exit'
|
||||
and the input is not an existing file.
|
||||
- a function, which will be called with the input as the argument.
|
||||
If it returns a non-nil value, the minibuffer is exited with that value.
|
||||
- a function, which will be called with the input as the
|
||||
argument. If the function returns a non-nil value, the
|
||||
minibuffer is exited with that argument as the value.
|
||||
- anything else behaves like t except that typing RET does not exit if it
|
||||
does non-null completion.
|
||||
|
||||
|
|
|
@ -2011,8 +2011,9 @@ REQUIRE-MATCH can take the following values:
|
|||
input, but she needs to confirm her choice if she called
|
||||
`minibuffer-complete' right before `minibuffer-complete-and-exit'
|
||||
and the input is not an element of COLLECTION.
|
||||
- a function, which will be called with the input as the parameter.
|
||||
If it returns a non-nil value, the minibuffer is exited with that value.
|
||||
- a function, which will be called with the input as the
|
||||
argument. If the function returns a non-nil value, the
|
||||
minibuffer is exited with that argument as the value.
|
||||
- anything else behaves like t except that typing RET does not exit if it
|
||||
does non-null completion.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue