not an element of @var{collection}. @xref{Completion Commands}.
@item
-If a function, the function is called with the input as the only
-argument. The function should return a non-@code{nil} value of the
-input is acceptable.
+If a function, it is called with the input as the only argument. The
+function should return a non-@code{nil} value if the input is
+acceptable.
@item
Any other value of @var{require-match} behaves like @code{t}, except
* Lisp Changes in Emacs 29.1
+++
-** 'completing-read' now allows a function as REQUIRE-MATCH.
+** 'completing-read' now allows a function as its REQUIRE-MATCH argument.
This function is called to see whether what the user has typed in is a
match. This is also available from functions that call
'completing-read', like 'read-file-name'.
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 parameter.
- If it returns a non-nil value, we exit with that value.
+- 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.
- anything else behaves like t except that typing RET does not exit if it
does non-null completion.
`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, we exit with that value.
+ If it returns a non-nil value, the minibuffer is exited with that value.
- anything else behaves like t except that typing RET does not exit if it
does non-null completion.