+2012-08-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * intervals.c (offset_intervals): Remove obsolete comment.
+
2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
* gtkutil.c (find_rtl_image, update_frame_tool_bar): Use NILP.
/* Make the adjustments necessary to the interval tree of BUFFER to
represent an addition or deletion of LENGTH characters starting
at position START. Addition or deletion is indicated by the sign
- of LENGTH.
-
- The two inline functions (one static) pacify Sun C 5.8, a pre-C99
- compiler that does not allow calling a static function (here,
- adjust_intervals_for_deletion) from a non-static inline function. */
+ of LENGTH. */
void
offset_intervals (struct buffer *buffer, ptrdiff_t start, ptrdiff_t length)
eassert (length == TOTAL_LENGTH (source));
if ((BUF_Z (buffer) - BUF_BEG (buffer)) == length)
- {
+ {
/* The inserted text constitutes the whole buffer, so
simply copy over the interval structure. */
Lisp_Object buf;