diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2024-02-15 23:22:37 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-02-16 06:54:06 +0100 |
| commit | f172c801361b17e3538bac2eb17645cd24330590 (patch) | |
| tree | 5901d4aba32535dbabc2418bc5da2e0a0d0138b4 | |
| parent | 0e9fe2e90231cd1bc8895ff99bbff6b7a97db60f (diff) | |
Extend orderless-without-literal comment
| -rw-r--r-- | orderless.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/orderless.el b/orderless.el index 2e5831f..eb645d0 100644 --- a/orderless.el +++ b/orderless.el @@ -261,7 +261,10 @@ at a word boundary in the candidate. This is similar to the collect `(seq word-boundary ,prefix)))) (defun orderless-without-literal (component) - "Match strings that do *not* contain COMPONENT as a literal match." + "Match strings that do *not* contain COMPONENT as a literal match. +You may prefer to use the more general `orderless-without' +instead which compiles the input to a predicate instead of a +regexp." `(seq (group string-start) ; highlight nothing! (zero-or-more |
