From: Kenichi Handa Date: Mon, 6 Jan 2003 01:17:47 +0000 (+0000) Subject: (insert_from_gap): Fix argument to offset_intervals. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~139 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0989baabc75d53c07acd337cd6e8ff5ec1d70c41;p=emacs.git (insert_from_gap): Fix argument to offset_intervals. --- diff --git a/src/insdel.c b/src/insdel.c index 7bae3020d3a..3cd9da7e2c8 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -1068,7 +1068,7 @@ insert_from_gap (nchars, nbytes) 0); if (BUF_INTERVALS (current_buffer) != 0) - offset_intervals (current_buffer, PT, nchars); + offset_intervals (current_buffer, GPT, nchars); if (GPT - nchars < PT) adjust_point (nchars, nbytes);