:END:
- =predicate= ::
Is a function to filter the initial collection. It has to be
- compatible with =all-completions=.
+ compatible with =all-completions=. Tip: most of the time, it's
+ simpler to just apply this filter to the =collection= argument
+ itself, e.g. =(cl-remove-if-not predicate collection)=.
- =require-match= ::
When set to a non-nil value, input must match one of the
candidates. Custom input is not accepted.
@subsubheading @code{predicate}
@indentedblock
Is a function to filter the initial collection. It has to be
-compatible with @code{all-completions}.
+compatible with @code{all-completions}. Tip: most of the time, it's
+simpler to just apply this filter to the @code{collection} argument
+itself, e.g. @code{(cl-remove-if-not predicate collection)}.
@end indentedblock
@subsubheading @code{require-match}
@indentedblock