Mercurial > emacs
diff src/abbrev.c @ 22343:542ccfb606c3
(create_root_interval): Initialize position to 0
for a string.
(interval_start_pos): New function.
(find_interval): Handle string positions starting at 0.
(adjust_intervals_for_insertion): Likewise.
(adjust_intervals_for_deletion): Likewise.
(compare_string_intervals): Likewise.
(graft_intervals_into_buffer): Set `position' in reproduce_tree value.
(copy_intervals): Init `position' to 0.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 03 Jun 1998 14:44:21 +0000 |
parents | fa9ff387d260 |
children | c8e47ec53eb6 |