summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Antolín <omar.antolin@gmail.com>2020-05-04 17:55:07 -0500
committerOmar Antolín <omar.antolin@gmail.com>2020-05-04 17:55:07 -0500
commit2f2c757a33064e9cb224aa5424407e516e5522f9 (patch)
treec372952b8106db617533771846dee1a59208b357
parent21e9f87579bcc7ccaaf07a1a0150c8c06f3bf3fa (diff)
Correct error about orderless-transient-style-dispatchers in README
-rw-r--r--README.org12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.org b/README.org
index 39979aa..fd1c781 100644
--- a/README.org
+++ b/README.org
@@ -261,7 +261,7 @@ components match literally. You could use the following configuration:
"Components match literally for the rest of the session."
(interactive)
(setq orderless-transient-matching-styles '(orderless-literal)
- orderless-transient-style-dispatchers nil))
+ orderless-transient-style-dispatchers '(ignore)))
(add-hook 'minibuffer-exit-hook
#'orderless-remove-transient-configuration)
@@ -270,10 +270,12 @@ components match literally. You could use the following configuration:
#'my/match-components-literally)
#+end_src
-Note that we also set =orderless-transient-style-dispatchers= to =nil=, to
-ensure the literal matching does not get overridden. You may want to
-allow dispatcher overrides, in which case you'd simply remove that
-assignment.
+Note that we also set =orderless-transient-style-dispatchers= to
+='(ignore)=, to ensure no style dispatchers are used so the literal
+matching does not get overridden. You may want to allow the
+dispatchers in =orderless-style-dispatchers= to override, in which case
+you'd set =orderless-transient-style-dispatchers= to =nil= or simply
+remove that assignment.
* Integration with other completion UIs