branch: externals/consult
commit 4ca98db03dac33476d60657ba975639ee30f2e9e
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    completion--replace does not mutate the string since Emacs 29
---
 consult.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/consult.el b/consult.el
index 1d085a7550..df13173c8b 100644
--- a/consult.el
+++ b/consult.el
@@ -3364,8 +3364,7 @@ expected return value are as specified for 
`completion-in-region'."
                  :state (consult--insertion-preview start end)
                  :predicate predicate
                  :initial initial))))
-        ;; bug#55205: completion--replace removes properties!
-        (completion--replace start end (setq completion (concat completion)))
+        (completion--replace start end completion)
         (when exit-fun
           (funcall exit-fun completion
                    ;; If completion is finished and cannot be further

Reply via email to