emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] externals/consult cc24d57e4c: completion--replace mutates the


From: Stefan Monnier
Subject: Re: [elpa] externals/consult cc24d57e4c: completion--replace mutates the string :/
Date: Sun, 23 Jan 2022 11:07:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>     completion--replace mutates the string :/

Hmm... since it's an internal function you can't really complain, but
otherwise I'd have recommended a bug report, indeed.

> +              (completion--replace start end (setq completion (concat 
> completion)))

`copy-sequence` is somewhat more efficient than `concat` here.


        Stefan




reply via email to

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