From: Richard M. Stallman Date: Fri, 2 Jan 1998 21:26:32 +0000 (+0000) Subject: (transpose_markers): Update marker's bytepos. X-Git-Tag: emacs-20.3~2510 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3e1f75263cc40e53e85f8009f79e1d17035b1a1;p=emacs.git (transpose_markers): Update marker's bytepos. --- diff --git a/src/editfns.c b/src/editfns.c index e4bf6a9099c..14c908243a1 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2478,8 +2478,7 @@ transpose_markers (start1, end1, start2, end2, mpos += diff_byte; else mpos -= amt2_byte; - if (mpos > GPT_BYTE) mpos += GAP_SIZE; - XMARKER (marker)->bufpos = mpos; + XMARKER (marker)->bytepos = mpos; } mpos = XMARKER (marker)->charpos; if (mpos >= start1 && mpos < end2)