aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog12
-rw-r--r--src/textprop.c2
2 files changed, 13 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 44d6e613b20..4fb88d75810 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,15 @@
12002-07-15 Ken Raeburn <raeburn@gnu.org>
2
3 * lisp.h (STRING_INTERVALS): Produce rvalue.
4 (STRING_SET_INTERVALS): New macro.
5 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it.
6 * fns.c (Fstring_as_multibyte): Likewise.
7 * intervals.c (create_root_interval,
8 balance_possible_root_interval, delete_interval,
9 copy_intervals_to_string): Likewise.
10 * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL
11 instead of 0.
12
12002-07-14 Ken Raeburn <raeburn@gnu.org> 132002-07-14 Ken Raeburn <raeburn@gnu.org>
2 14
3 * lisp.h (STRING_SET_CHARS): New macro. 15 * lisp.h (STRING_SET_CHARS): New macro.
diff --git a/src/textprop.c b/src/textprop.c
index bf23f6a34aa..62e9446426e 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -1311,7 +1311,7 @@ set_text_properties (start, end, properties, object, signal_after_change_p)
1311 if (! STRING_INTERVALS (object)) 1311 if (! STRING_INTERVALS (object))
1312 return Qt; 1312 return Qt;
1313 1313
1314 STRING_INTERVALS (object) = 0; 1314 STRING_SET_INTERVALS (object, NULL_INTERVAL);
1315 return Qt; 1315 return Qt;
1316 } 1316 }
1317 1317