1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

* lisp/minibuffer.el (completion--replace): Fix bug#55205

This commit is contained in:
Stefan Monnier 2022-05-01 13:04:44 -04:00
parent 9370a4763a
commit 788694d026

View File

@ -1140,6 +1140,7 @@ Moves point to the end of the new text."
;; The properties on `newtext' include things like the
;; `completions-first-difference' face, which we don't want to
;; include upon insertion.
(setq newtext (copy-sequence newtext)) ;Don't modify the arg by side-effect.
(if minibuffer-allow-text-properties
;; If we're preserving properties, then just remove the faces
;; and other properties added by the completion machinery.