summaryrefslogtreecommitdiff
path: root/src/intervals.c
diff options
context:
space:
mode:
authorJoseph Arceneaux <jla@gnu.org>1992-10-03 00:05:48 +0000
committerJoseph Arceneaux <jla@gnu.org>1992-10-03 00:05:48 +0000
commitb8d67349d9b564a5c6f4648f15ba1124118dc949 (patch)
tree9d65b72c31fdca2a29a7c020b64b0328d336af4d /src/intervals.c
parent29e37b2072a577bfddbf69f16c58e8e1aadf8164 (diff)
downloademacs-b8d67349d9b564a5c6f4648f15ba1124118dc949.tar.gz
* intervals.c: `copy_intervals()' no longer static.
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/intervals.c b/src/intervals.c
index f1fdd9ed2cc..bffb7a7aabe 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -655,7 +655,7 @@ adjust_intervals_for_insertion (tree, position, length)
/* If both intervals are sticky here, then default to the
left-most one. But perhaps we should create a new
interval here instead... */
- if (END_STICKY (prev))
+ if (END_STICKY_P (prev))
i = prev;
}
@@ -1167,7 +1167,7 @@ graft_intervals_into_buffer (source, position, buffer)
/* First interval -- none precede it. */
if (position == 1)
{
- if (! FRONT_STICKY (under))
+ if (! FRONT_STICKY_P (under))
/* The inserted string keeps its own properties. */
while (! NULL_INTERVAL_P (over))
{
@@ -1195,9 +1195,9 @@ graft_intervals_into_buffer (source, position, buffer)
if (NULL_INTERVAL_P (prev))
abort ();
- if (END_STICKY (prev))
+ if (END_STICKY_P (prev))
{
- if (FRONT_STICKY (under))
+ if (FRONT_STICKY_P (under))
/* The intervals go inbetween as the two sticky
properties cancel each other. Should we change
this policy? */
@@ -1222,7 +1222,7 @@ graft_intervals_into_buffer (source, position, buffer)
}
else
{
- if (FRONT_STICKY (under))
+ if (FRONT_STICKY_P (under))
/* The inserted text "sticks" to the interval `under',
which means it gets those properties. */
while (! NULL_INTERVAL_P (over))
@@ -1507,7 +1507,7 @@ balance_intervals (tree)
/* Produce an interval tree reflecting the intervals in
TREE from START to START + LENGTH. */
-static INTERVAL
+INTERVAL
copy_intervals (tree, start, length)
INTERVAL tree;
int start, length;