summaryrefslogtreecommitdiff
path: root/README.org
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 /README.org
parenta22d894d39003abc385d40a3fa28156a596464ca (diff)
Revert "Add matching style and dispatcher per category overrides (fix #31)"
This reverts commit d1c0cbf87ba7d927ec64c161ec3aac65b9643b61.
Diffstat (limited to 'README.org')
-rw-r--r--README.org25
1 files changed, 0 insertions, 25 deletions
diff --git a/README.org b/README.org
index 847b041..f74c666 100644
--- a/README.org
+++ b/README.org
@@ -157,16 +157,6 @@ The variable =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
-=completion-category-overrides=. For example, to use =orderless-flex= to
-complete buffer names, you could use:
-
-#+begin_src emacs-lisp
- (add-to-list 'completion-category-overrides
- '(buffer (orderless-matching-styles orderless-flex)))
-#+end_src
-
*** Style dispatchers
For more fine-grained control on which matching styles to use for
@@ -215,21 +205,6 @@ complete buffer names, you could use:
without-if-bang))
#+end_src
-As with matching styles, you can set which style dispatchers to use
-for specific completion catgories using the
-=completion-category-overrides= variable. For example, if you wanted to
-match buffer using the =orderless-flex= matching style except for
-components starting with =!=, which you want to treat as excluded terms,
-you could use the following configuration (which relies on the above
-=without-if-bang= dispatcher):
-
-#+begin_src emacs-lisp
- (add-to-list 'completion-category-overrides
- '(buffer (orderless-matching-styles orderless-flex)
- (orderless-style-dispatchers without-if-bang)))
-#+end_src
-
-
** Component separator regexp
The pattern components are space-separated by default: this is