summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-03-03 18:30:22 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2024-03-03 18:51:58 +0100
commit939ceece866e802e4cd8ed7e80c9715f39e7c0ec (patch)
tree9e4d6aa74d97ab140d045d338cb7dd88e05f9d08 /README.org
parent5dcf92a6624911cd85d6fbf42a4cc2980d9afef3 (diff)
Rename orderless-prefix to orderless-literal-prefix and register
Avoid confusion with orderless-prefixes. Registering orderless-literal-prefix with the ^ character has a modest advantage - it makes sure that the prefix optimization sets in.
Diffstat (limited to 'README.org')
-rw-r--r--README.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.org b/README.org
index a0ad2f1..dc9bbd1 100644
--- a/README.org
+++ b/README.org
@@ -133,8 +133,8 @@ matching styles are:
- orderless-literal :: the component is treated as a literal string
that must occur in the candidate.
-- orderless-prefix :: the component is treated as a literal string
- that must occur as a prefix of a candidate.
+- orderless-literal-prefix :: the component is treated as a literal
+ string that must occur as a prefix of a candidate.
- orderless-prefixes :: the component is split at word endings and
each piece must match at a word boundary in the candidate, occurring
@@ -195,6 +195,7 @@ Style modifiers should not be used directly in
will match against the candidate's annotation.
- , uses =orderless-initialism=.
- = uses =orderless-literal=.
+ - ^ uses =orderless-literal-prefix=.
- ~ uses =orderless-flex=.
- % makes the string match ignoring diacritics and similar
inflections on characters (it uses the function