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

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

[elpa] master 779db1e 292/399: ivy.el (ivy--occur-insert-lines): Add cop


From: Oleh Krehel
Subject: [elpa] master 779db1e 292/399: ivy.el (ivy--occur-insert-lines): Add copy-sequence
Date: Sat, 20 Jul 2019 14:57:43 -0400 (EDT)

branch: master
commit 779db1e39fae68689f962e83d516193f4fde7682
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy--occur-insert-lines): Add copy-sequence
    
    Prevent strings from being permanently highlighted.
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 02c1a4f..bfcaf08 100644
--- a/ivy.el
+++ b/ivy.el
@@ -4408,7 +4408,7 @@ When `ivy-calling' isn't nil, call `ivy-occur-press'."
                 (concat
                  (propertize file-and-line 'face 'ivy-grep-info)
                  (ivy--highlight-fuzzy grep-line)))
-            (ivy--highlight-fuzzy cand)))
+            (ivy--highlight-fuzzy (copy-sequence cand))))
     (add-text-properties
      0 (length cand)
      '(mouse-face



reply via email to

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