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

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

[elpa] master 12145d7 030/348: ivy.el (ivy-completion-in-region-action):


From: Oleh Krehel
Subject: [elpa] master 12145d7 030/348: ivy.el (ivy-completion-in-region-action): Remove string props
Date: Sat, 8 Apr 2017 11:03:17 -0400 (EDT)

branch: master
commit 12145d74ebd884ce5b674be71df8ac69b59e7d04
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-completion-in-region-action): Remove string props
    
    * ivy.el (ivy-completion-in-region-action): They are removed anyway by
      `ivy-completion-in-region', but some are added back by ivy's fancy
      highlights.
    
    Fixes #517
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 24d8986..0ac9006 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1623,7 +1623,7 @@ The previous string is between `ivy-completion-beg' and 
`ivy-completion-end'."
          ivy-completion-end))
       (setq ivy-completion-beg
             (move-marker (make-marker) (point)))
-      (insert str)
+      (insert (substring-no-properties str))
       (setq ivy-completion-end
             (move-marker (make-marker) (point))))))
 



reply via email to

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