From 56120d6f972c5e7830cd2df99b4c424f0c451ffd Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 14 Aug 2012 01:30:52 -0700 Subject: [PATCH] * intervals.c (offset_intervals): Remove obsolete comment. --- src/ChangeLog | 4 ++++ src/intervals.c | 8 ++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index eef02da44e..b752db53ee 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-08-14 Paul Eggert + + * intervals.c (offset_intervals): Remove obsolete comment. + 2012-08-14 Andreas Schwab * gtkutil.c (find_rtl_image, update_frame_tool_bar): Use NILP. diff --git a/src/intervals.c b/src/intervals.c index 145882f614..09949bbbd4 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -1366,11 +1366,7 @@ adjust_intervals_for_deletion (struct buffer *buffer, /* 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) @@ -1609,7 +1605,7 @@ graft_intervals_into_buffer (INTERVAL source, ptrdiff_t position, 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; -- 2.20.1