summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-03-03 14:05:52 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2024-03-03 14:19:37 +0100
commit998912ca17166b1a7bbc1f2ad59d86f7228b866a (patch)
treef3699f8d701ea3eb40cd971420d06282552c0247 /README.org
parent1b7ca9a8b500250c4e560e01ff1190daa906109f (diff)
README: Document orderless-prefix
Diffstat (limited to 'README.org')
-rw-r--r--README.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.org b/README.org
index f4d5395..a0ad2f1 100644
--- a/README.org
+++ b/README.org
@@ -133,6 +133,9 @@ 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-prefixes :: the component is split at word endings and
each piece must match at a word boundary in the candidate, occurring
in that order.
@@ -241,7 +244,7 @@ Style modifiers should not be used directly in
(defun not-if-bang (pattern _index _total)
(cond
((equal "!" pattern)
- '(orderless-literal . ""))
+ #'ignore)
((string-prefix-p "!" pattern)
`(orderless-not . ,(substring pattern 1)))))