From: Paul Eggert Date: Tue, 14 Aug 2012 08:30:52 +0000 (-0700) Subject: * intervals.c (offset_intervals): Remove obsolete comment. X-Git-Tag: emacs-24.2.90~690 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=56120d6f972c5e7830cd2df99b4c424f0c451ffd;p=emacs.git * intervals.c (offset_intervals): Remove obsolete comment. --- diff --git a/src/ChangeLog b/src/ChangeLog index eef02da44e3..b752db53eee 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 145882f6146..09949bbbd45 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;