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

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

[elpa] externals/corfu 90987f3515: Ensure that no text properties leak t


From: ELPA Syncer
Subject: [elpa] externals/corfu 90987f3515: Ensure that no text properties leak to the overlay (Fix #533)
Date: Sun, 8 Dec 2024 18:57:40 -0500 (EST)

branch: externals/corfu
commit 90987f35152ce844ab3db76204b2ce32321da7fe
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Ensure that no text properties leak to the overlay (Fix #533)
---
 corfu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corfu.el b/corfu.el
index 738dd52aab..cbe7aa691c 100644
--- a/corfu.el
+++ b/corfu.el
@@ -839,7 +839,7 @@ the last command must be listed in 
`corfu-continue-commands'."
     (overlay-put corfu--preview-ov 'priority 1000)
     (overlay-put corfu--preview-ov 'window (selected-window))
     (overlay-put corfu--preview-ov (if (= beg end) 'after-string 'display)
-                 (nth corfu--index corfu--candidates))))
+                 (substring-no-properties (nth corfu--index 
corfu--candidates)))))
 
 (defun corfu--preview-delete ()
   "Delete the preview overlay."



reply via email to

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