summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helm-ring.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/helm-ring.el b/helm-ring.el
index 9e136637..ef3d5254 100644
--- a/helm-ring.el
+++ b/helm-ring.el
@@ -176,6 +176,8 @@ replace with STR as yanked string."
(set-marker (mark-marker)
(point)
helm-current-buffer)))))))
+ ;; Prevent inserting and saving highlighted items.
+ (set-text-properties 0 (length str) nil str)
(with-helm-current-buffer
(unwind-protect
(progn