diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-03-03 18:30:22 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-03-03 18:51:58 +0100 |
| commit | 939ceece866e802e4cd8ed7e80c9715f39e7c0ec (patch) | |
| tree | 9e4d6aa74d97ab140d045d338cb7dd88e05f9d08 /README.org | |
| parent | 5dcf92a6624911cd85d6fbf42a4cc2980d9afef3 (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.org | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
