1208 |
(put-text-property @var{beg} @var{end} @var{property} @var{value}) |
(put-text-property @var{beg} @var{end} @var{property} @var{value}) |
1209 |
@end example |
@end example |
1210 |
|
|
1211 |
|
@item (apply @var{funname} . @var{args}) |
1212 |
|
This kind of element records a change that can be undone by evaluating |
1213 |
|
(@code{apply} @var{funname} @var{args}). |
1214 |
|
|
1215 |
|
@item (apply @var{delta} @var{beg} @var{end} @var{funname} . @var{args}) |
1216 |
|
This kind of element records a change that can be undone by evaluating |
1217 |
|
(@code{apply} @var{funname} @var{args}). The integer values @var{beg} |
1218 |
|
and @var{end} is buffer positions of the range affected by this change |
1219 |
|
and @var{delta} is an integer value which is the number of bytes added |
1220 |
|
or deleted in that range by this change. This kind of element |
1221 |
|
supports undo in an active region |
1222 |
|
|
1223 |
@item (@var{marker} . @var{adjustment}) |
@item (@var{marker} . @var{adjustment}) |
1224 |
This kind of element records the fact that the marker @var{marker} was |
This kind of element records the fact that the marker @var{marker} was |
1225 |
relocated due to deletion of surrounding text, and that it moved |
relocated due to deletion of surrounding text, and that it moved |