aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.c
diff options
context:
space:
mode:
authorPaul Eggert2012-08-14 01:30:52 -0700
committerPaul Eggert2012-08-14 01:30:52 -0700
commit56120d6f972c5e7830cd2df99b4c424f0c451ffd (patch)
tree3e817ac9f7701595c771752f11c7b97ae3f22655 /src/intervals.c
parent67b77c0b2ffe38b4e747708821dc2cfa215551a2 (diff)
downloademacs-56120d6f972c5e7830cd2df99b4c424f0c451ffd.tar.gz
emacs-56120d6f972c5e7830cd2df99b4c424f0c451ffd.zip
* intervals.c (offset_intervals): Remove obsolete comment.
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c8
1 files changed, 2 insertions, 6 deletions
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,
1366/* Make the adjustments necessary to the interval tree of BUFFER to 1366/* Make the adjustments necessary to the interval tree of BUFFER to
1367 represent an addition or deletion of LENGTH characters starting 1367 represent an addition or deletion of LENGTH characters starting
1368 at position START. Addition or deletion is indicated by the sign 1368 at position START. Addition or deletion is indicated by the sign
1369 of LENGTH. 1369 of LENGTH. */
1370
1371 The two inline functions (one static) pacify Sun C 5.8, a pre-C99
1372 compiler that does not allow calling a static function (here,
1373 adjust_intervals_for_deletion) from a non-static inline function. */
1374 1370
1375void 1371void
1376offset_intervals (struct buffer *buffer, ptrdiff_t start, ptrdiff_t length) 1372offset_intervals (struct buffer *buffer, ptrdiff_t start, ptrdiff_t length)
@@ -1609,7 +1605,7 @@ graft_intervals_into_buffer (INTERVAL source, ptrdiff_t position,
1609 eassert (length == TOTAL_LENGTH (source)); 1605 eassert (length == TOTAL_LENGTH (source));
1610 1606
1611 if ((BUF_Z (buffer) - BUF_BEG (buffer)) == length) 1607 if ((BUF_Z (buffer) - BUF_BEG (buffer)) == length)
1612 { 1608 {
1613 /* The inserted text constitutes the whole buffer, so 1609 /* The inserted text constitutes the whole buffer, so
1614 simply copy over the interval structure. */ 1610 simply copy over the interval structure. */
1615 Lisp_Object buf; 1611 Lisp_Object buf;