From: Karl Fogel Date: Sun, 28 Nov 2021 19:34:57 +0000 (-0600) Subject: ; Remove an obsolete comment X-Git-Tag: emacs-28.0.90~29 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bca57086bef276cdd918edfa9f6e133899bbbbbb;p=emacs.git ; Remove an obsolete comment * src/editfns.c (Ftranspose_regions): Remove an obsolete comment about memmove, following up to commit 72af86bd8cf of 8 Jul 2010 by Andreas Schwab and commit 354f9f0fc6cc of 23 Feb 2016 by Fredrik Bergroth, both of which added calls to memmove. --- diff --git a/src/editfns.c b/src/editfns.c index c8219decb06..5c9c34dc352 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -4265,9 +4265,6 @@ ring. */) enough to use as the temporary storage? That would avoid an allocation... interesting. Later, don't fool with it now. */ - /* Working without memmove, for portability (sigh), so must be - careful of overlapping subsections of the array... */ - if (end1 == start2) /* adjacent regions */ { modify_text (start1, end2);