diff options
| author | Omar Antolín <omar.antolin@gmail.com> | 2020-04-14 16:16:19 -0500 |
|---|---|---|
| committer | Omar Antolín <omar.antolin@gmail.com> | 2020-04-14 16:16:19 -0500 |
| commit | aad0aa8a8dcf2aa7e8687f34676227c36ff003cf (patch) | |
| tree | 77c72c6818d768daeaf8e1bfd73b789196020120 | |
| parent | b46dbb1045042adae18061961bfdeaf712912be6 (diff) | |
Copy candidates to avoid permanently changing their face
| -rw-r--r-- | orderless.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/orderless.el b/orderless.el index c515056..7b30a4b 100644 --- a/orderless.el +++ b/orderless.el @@ -65,7 +65,8 @@ (progn (setq all (save-match-data - (cl-loop for candidate in all + (cl-loop for original in all + for candidate = (copy-sequence original) when (cl-loop for regexp in regexps always (orderless-highlight-match regexp candidate)) |
