diff options
| author | Omar Antolín <omar.antolin@gmail.com> | 2021-01-20 09:08:35 -0600 |
|---|---|---|
| committer | Omar Antolín <omar.antolin@gmail.com> | 2021-01-20 09:08:35 -0600 |
| commit | ea752ba6e3ddf0490f7d3b8ec0f27e08344e0758 (patch) | |
| tree | c71ee042e045075b4d086d4600bea7445050ac21 /orderless.texi | |
| parent | a22d894d39003abc385d40a3fa28156a596464ca (diff) | |
Revert "Add matching style and dispatcher per category overrides (fix #31)"
This reverts commit d1c0cbf87ba7d927ec64c161ec3aac65b9643b61.
Diffstat (limited to 'orderless.texi')
| -rw-r--r-- | orderless.texi | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/orderless.texi b/orderless.texi index 0aa29c6..d5361c7 100644 --- a/orderless.texi +++ b/orderless.texi @@ -197,16 +197,6 @@ The variable @samp{orderless-matching-styles} can be set to a list of the desired matching styles to use. By default it enables the regexp and initialism styles. -If you want to use certain matching styles only for completion of -certain categories, you can add an entry to the built-in variable -@samp{completion-category-overrides}. For example, to use @samp{orderless-flex} to -complete buffer names, you could use: - -@lisp -(add-to-list 'completion-category-overrides - '(buffer (orderless-matching-styles orderless-flex))) -@end lisp - @menu * Style dispatchers:: @end menu @@ -266,20 +256,6 @@ You can achieve this with the following configuration: without-if-bang)) @end lisp -As with matching styles, you can set which style dispatchers to use -for specific completion catgories using the -@samp{completion-category-overrides} variable. For example, if you wanted to -match buffer using the @samp{orderless-flex} matching style except for -components starting with @samp{!}, which you want to treat as excluded terms, -you could use the following configuration (which relies on the above -@samp{without-if-bang} dispatcher): - -@lisp -(add-to-list 'completion-category-overrides - '(buffer (orderless-matching-styles orderless-flex) - (orderless-style-dispatchers without-if-bang))) -@end lisp - @node Component separator regexp @section Component separator regexp |
