summaryrefslogtreecommitdiff
path: root/src/intervals.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-07-17 13:12:24 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-07-17 13:12:24 +0400
commitcce7fefcabe5794120d08714cbef6bba0c264226 (patch)
tree1b9368a12f1ea3193bc8c534729e83080ea415d6 /src/intervals.h
parentefc26dbecd1b548d6f44267ce13b56dbad8ab783 (diff)
downloademacs-cce7fefcabe5794120d08714cbef6bba0c264226.tar.gz
emacs-cce7fefcabe5794120d08714cbef6bba0c264226.tar.bz2
emacs-cce7fefcabe5794120d08714cbef6bba0c264226.zip
Cleanup and convert miscellaneous checks to eassert.
* alloc.c (mark_interval): Fix comment, partially rephrase old comment from intervals.h (see below). * intervals.c (find_interval, adjust_intervals_for_insertion) (delete_interval, adjust_intervals_for_deletion) (graft_intervals_into_buffer, temp_set_point_both, copy_intervals): Convert to eassert. (adjust_intervals_for_insertion, make_new_interval): Remove obsolete and unused code. * intervals.h (struct interval): Remove obsolete comment. * textprotp.c (erase_properties): Remove unused code. (Fadd_text_properties, set_text_properties_1, Fremove_text_properties) (Fremove_list_of_text_properties): Convert to eassert.
Diffstat (limited to 'src/intervals.h')
-rw-r--r--src/intervals.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/intervals.h b/src/intervals.h
index 8d2ee8346cf..d78289d897e 100644
--- a/src/intervals.h
+++ b/src/intervals.h
@@ -56,12 +56,7 @@ struct interval
unsigned int front_sticky : 1; /* Non-zero means text inserted just
before this interval goes into it. */
unsigned int rear_sticky : 1; /* Likewise for just after it. */
-
- /* Properties of this interval.
- The mark bit on this field says whether this particular interval
- tree node has been visited. Since intervals should never be
- shared, GC aborts if it seems to have visited an interval twice. */
- Lisp_Object plist;
+ Lisp_Object plist; /* Other properties. */
};
/* These are macros for dealing with the interval tree. */