summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Fogel <kfogel@red-bean.com>2021-11-28 13:34:57 -0600
committerKarl Fogel <kfogel@red-bean.com>2021-11-28 13:34:57 -0600
commitbca57086bef276cdd918edfa9f6e133899bbbbbb (patch)
tree714265f95675bacd1199a5cb331519a053daf837
parent455b64c33657f05f614007947cc9028621ba21d7 (diff)
downloademacs-bca57086bef276cdd918edfa9f6e133899bbbbbb.tar.gz
; 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.
-rw-r--r--src/editfns.c3
1 files changed, 0 insertions, 3 deletions
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);