From aad0aa8a8dcf2aa7e8687f34676227c36ff003cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20Antol=C3=ADn?= Date: Tue, 14 Apr 2020 16:16:19 -0500 Subject: Copy candidates to avoid permanently changing their face --- orderless.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.0