From: Andreas Schwab Date: Mon, 6 Apr 1998 09:20:04 +0000 (+0000) Subject: (Ftranspose_regions): Fix order of parameters for replace_range. X-Git-Tag: emacs-20.3~1693 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8daf7106e6ab8b3eb742fc33b8ce3b0b10e9a639;p=emacs.git (Ftranspose_regions): Fix order of parameters for replace_range. --- 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;