emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/orderless aad0aa8a8d 017/204: Copy candidates to avoid


From: ELPA Syncer
Subject: [elpa] externals/orderless aad0aa8a8d 017/204: Copy candidates to avoid permanently changing their face
Date: Tue, 11 Jan 2022 12:58:13 -0500 (EST)

branch: externals/orderless
commit aad0aa8a8dcf2aa7e8687f34676227c36ff003cf
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>

    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 c5150560f3..7b30a4b188 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]