mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-15 03:11:54 -07:00
(insert_from_gap): Fix argument to offset_intervals.
This commit is contained in:
parent
dcda246bb9
commit
0989baabc7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue