branch: master
commit 12145d74ebd884ce5b674be71df8ac69b59e7d04
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    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