summaryrefslogtreecommitdiff
path: root/orderless.texi
diff options
context:
space:
mode:
authorOmar Antolín <omar.antolin@gmail.com>2021-01-20 09:08:35 -0600
committerOmar Antolín <omar.antolin@gmail.com>2021-01-20 09:08:35 -0600
commitea752ba6e3ddf0490f7d3b8ec0f27e08344e0758 (patch)
treec71ee042e045075b4d086d4600bea7445050ac21 /orderless.texi
parenta22d894d39003abc385d40a3fa28156a596464ca (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.texi24
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