[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/intervals.c
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/intervals.c |
Date: |
Tue, 30 Sep 2003 08:33:20 -0400 |
Index: emacs/src/intervals.c
diff -c emacs/src/intervals.c:1.125 emacs/src/intervals.c:1.126
*** emacs/src/intervals.c:1.125 Mon Sep 22 11:51:19 2003
--- emacs/src/intervals.c Tue Sep 30 08:33:19 2003
***************
*** 1746,1751 ****
--- 1746,1752 ----
XSETBUFFER (buf, buffer);
BUF_INTERVALS (buffer) = reproduce_tree_obj (source, buf);
BUF_INTERVALS (buffer)->position = BEG;
+ BUF_INTERVALS (buffer)->up_obj = 1;
/* Explicitly free the old tree here? */
***************
*** 1768,1773 ****
--- 1769,1775 ----
{
BUF_INTERVALS (buffer) = reproduce_tree (source, INTERVAL_PARENT
(tree));
BUF_INTERVALS (buffer)->position = BEG;
+ BUF_INTERVALS (buffer)->up_obj = 1;
/* Explicitly free the old tree here. */
return;
***************
*** 1823,1831 ****
while (! NULL_INTERVAL_P (over))
{
/* If UNDER is longer than OVER, split it. */
! if (LENGTH (over) < LENGTH (under))
{
! this = split_interval_left (under, LENGTH (over));
copy_properties (under, this);
}
else
--- 1825,1833 ----
while (! NULL_INTERVAL_P (over))
{
/* If UNDER is longer than OVER, split it. */
! if (LENGTH (over) - over_used < LENGTH (under))
{
! this = split_interval_left (under, LENGTH (over) - over_used);
copy_properties (under, this);
}
else