(intervals_equal): Handle one arg null and other not.
authorRichard M. Stallman <rms@gnu.org>
Mon, 1 Mar 1993 08:56:22 +0000 (08:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 1 Mar 1993 08:56:22 +0000 (08:56 +0000)
commit323a7ad4fd811dd71425e2fed7ebafb9daaaed72
tree4b318e26704372b6ee776c76609adf812abd1369
parent16032db6875c2840f8b51f86ccb1658940795910
(intervals_equal): Handle one arg null and other not.
(set_point): Considerable rewrite.  Handle intervals both
before and after the old and new point values.
Redo handling of invisible intervals, and of motion hooks.
(textget): New function.

(graft_intervals_into_buffer):
create_root_interval needs Lisp object arg.
Set tree to new root interval.
Don't test TREE_LENGTH if buffer has no intervals.
Rearrange code to copy properties so that it really
does merge the inserted ones into the inherited ones.
(traverse_intervals): Pass `arg' on recursive calls.
(split_interval_left): Use new_length as basis for length of new.

(traverse_intervals): New arg ARG.
src/intervals.c