From 8daf7106e6ab8b3eb742fc33b8ce3b0b10e9a639 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 6 Apr 1998 09:20:04 +0000 Subject: [PATCH] (Ftranspose_regions): Fix order of parameters for replace_range. --- src/editfns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index f95649b1480..fe419944553 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2776,8 +2776,8 @@ Transposing beyond buffer boundaries is an error.") start1_byte, start1_byte + len1_byte, start2_byte, start2_byte + len2_byte); - replace_range (text1, start2, end2, 1, 0, 1); - replace_range (text2, start1, end1, 1, 0, 1); + replace_range (start2, end2, text1, 1, 0, 1); + replace_range (start1, end1, text2, 1, 0, 1); UNGCPRO; return Qnil; -- 2.39.2