[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109599: * intervals.c (offset_interv
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109599: * intervals.c (offset_intervals): Remove obsolete comment. |
Date: |
Tue, 14 Aug 2012 01:30:52 -0700 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109599
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2012-08-14 01:30:52 -0700
message:
* intervals.c (offset_intervals): Remove obsolete comment.
modified:
src/ChangeLog
src/intervals.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-08-14 08:06:07 +0000
+++ b/src/ChangeLog 2012-08-14 08:30:52 +0000
@@ -1,3 +1,7 @@
+2012-08-14 Paul Eggert <address@hidden>
+
+ * intervals.c (offset_intervals): Remove obsolete comment.
+
2012-08-14 Andreas Schwab <address@hidden>
* gtkutil.c (find_rtl_image, update_frame_tool_bar): Use NILP.
=== modified file 'src/intervals.c'
--- a/src/intervals.c 2012-08-13 03:39:07 +0000
+++ b/src/intervals.c 2012-08-14 08:30:52 +0000
@@ -1366,11 +1366,7 @@
/* 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 @@
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109599: * intervals.c (offset_intervals): Remove obsolete comment.,
Paul Eggert <=