* Re: [elpa] externals/consult cc24d57e4c: completion--replace mutates the string :/
[not found] ` <20220123065728.6162FC0DA31@vcs2.savannah.gnu.org>
@ 2022-01-23 16:07 ` Stefan Monnier
0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2022-01-23 16:07 UTC (permalink / raw)
To: emacs-devel; +Cc: Daniel Mendler
> 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-23 16:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <164292104745.8376.14716593496127420637@vcs2.savannah.gnu.org>
[not found] ` <20220123065728.6162FC0DA31@vcs2.savannah.gnu.org>
2022-01-23 16:07 ` [elpa] externals/consult cc24d57e4c: completion--replace mutates the string :/ Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).