diff options
| author | Richard M. Stallman | 1993-03-01 08:57:31 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-03-01 08:57:31 +0000 |
| commit | d4b530ad2db1e26f7c6e6635ecdf3b66b74f3585 (patch) | |
| tree | c40dd5ba50c0fff9ef4a1a698e1053fdbfff14d3 /src/undo.c | |
| parent | 323a7ad4fd811dd71425e2fed7ebafb9daaaed72 (diff) | |
| download | emacs-d4b530ad2db1e26f7c6e6635ecdf3b66b74f3585.tar.gz emacs-d4b530ad2db1e26f7c6e6635ecdf3b66b74f3585.zip | |
(Fadd_text_properties, Fremove_text_properties):
Add len>0 as condition for main loop.
Abort if reach a null interval.
(Fset_text_properties): Abort if reach a null interval.
(Ftext_properties_at, Fget_text_property):
Return nil if POS is end of OBJECT.
(add_properties): Use NILP to test result of Fequal.
No longer inline.
(remove_properties): No longer inline.
(set_properties): Total rewrite as function.
(validate_interval_range): Don't alter *begin at end of buffer.
But do search for a position just before the end.
Return null for an empty string.
(validate_interval_range): Allow 0 as position in string.
Add 1 to specified string positions.
(Fprevious_single_property_change): Subtract 1 if object is string.
(Fnext_single_property_change): Likewise.
(Fprevious_property_change, Fnext_property_change): Likewise.
(remove_properties): Call modify_buffer.
(add_properties): Likewise.
(Fadd_text_properties): Pass new arg to add_properties.
(Fremove_text_properties): Likewise.
(add_properties, remove_properties): New arg OBJECT. Record undo info.
(Fput_text_property): New function.
Diffstat (limited to 'src/undo.c')
0 files changed, 0 insertions, 0 deletions