X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/2fb8d86b5fa7d621f89cd758ebd6b831089fdd4c..d2a89ea50727ecd3afa99c09a3b654c44d4bd237:/doc/ivy.org diff --git a/doc/ivy.org b/doc/ivy.org index d8b397abb..8c0f35757 100644 --- a/doc/ivy.org +++ b/doc/ivy.org @@ -1070,7 +1070,9 @@ features such as multi-actions, non-exiting actions, =ivy-occur= and :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.