]> git.eshelyaron.com Git - emacs.git/commit
Inline functions to examine and change buffer intervals.
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 8 Aug 2012 12:12:40 +0000 (16:12 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 8 Aug 2012 12:12:40 +0000 (16:12 +0400)
commit8707c1e56ca83a0a34785e451dcef428c60242fe
treef404532e675b2870620faafa8d94dacf618c1a22
parentad8c997f72c95b7351eab4c8ea2ac8c667545e6f
Inline functions to examine and change buffer intervals.
* alloc.c (mark_interval_tree): Remove.
(MARK_INTERVAL_TREE): Simplify.
(UNMARK_BALANCE_INTERVALS): Remove.  Adjust users.
* intervals.c (buffer_balance_intervals): New function.
(graft_intervals_into_buffer): Adjust indentation.
(set_intervals_multibyte): Simplify.
* buffer.h (BUF_INTERVALS): Remove.
(buffer_get_intervals, buffer_set_intervals): New function.
* alloc.c, buffer.c, editfns.c, fileio.c, indent.c, insdel.c:
* intervals.c, textprop.c: Adjust users.
src/ChangeLog
src/alloc.c
src/buffer.c
src/buffer.h
src/editfns.c
src/fileio.c
src/indent.c
src/insdel.c
src/intervals.c
src/textprop.c