mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
* textprop.c (set_text_properties): Use STRING_SET_INTERVALS.
This commit is contained in:
parent
b13738b697
commit
9056febe2c
2 changed files with 13 additions and 1 deletions
|
|
@ -1,3 +1,15 @@
|
|||
2002-07-15 Ken Raeburn <raeburn@gnu.org>
|
||||
|
||||
* lisp.h (STRING_INTERVALS): Produce rvalue.
|
||||
(STRING_SET_INTERVALS): New macro.
|
||||
* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it.
|
||||
* fns.c (Fstring_as_multibyte): Likewise.
|
||||
* intervals.c (create_root_interval,
|
||||
balance_possible_root_interval, delete_interval,
|
||||
copy_intervals_to_string): Likewise.
|
||||
* textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL
|
||||
instead of 0.
|
||||
|
||||
2002-07-14 Ken Raeburn <raeburn@gnu.org>
|
||||
|
||||
* lisp.h (STRING_SET_CHARS): New macro.
|
||||
|
|
|
|||
|
|
@ -1311,7 +1311,7 @@ set_text_properties (start, end, properties, object, signal_after_change_p)
|
|||
if (! STRING_INTERVALS (object))
|
||||
return Qt;
|
||||
|
||||
STRING_INTERVALS (object) = 0;
|
||||
STRING_SET_INTERVALS (object, NULL_INTERVAL);
|
||||
return Qt;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue