diff options
| author | Omar Antolín <omar.antolin@gmail.com> | 2021-01-01 14:07:34 -0600 |
|---|---|---|
| committer | Omar Antolín <omar.antolin@gmail.com> | 2021-01-01 14:07:34 -0600 |
| commit | f49a0facebcba9621fb7f2efad67b3dff5774b75 (patch) | |
| tree | a5e485e3ca6dc444cbe6247339bda7b80c9ee8b1 | |
| parent | e316991cfe1274efe5881fee0230532c67f9b035 (diff) | |
Off by one error in orderless-without-literal
| -rw-r--r-- | orderless.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/orderless.el b/orderless.el index ecd89c7..d4fe98a 100644 --- a/orderless.el +++ b/orderless.el @@ -313,8 +313,8 @@ at a word boundary in the candidate. This is similar to the `(seq (group string-start) ; highlight nothing! (zero-or-more - (or ,@(cl-loop for i from 1 below (length component) - collect `(seq ,(substring component 1 i) + (or ,@(cl-loop for i below (length component) + collect `(seq ,(substring component 0 i) (or (not (any ,(aref component i))) string-end))))) string-end))) |
