1244 |
undo individual replacements one by one. |
undo individual replacements one by one. |
1245 |
@end defun |
@end defun |
1246 |
|
|
1247 |
|
@defvar undo-in-progress |
1248 |
|
This variable is normally @code{nil}, but the undo commands bind it to |
1249 |
|
@code{t}. This is so that various kinds of change hooks can tell when |
1250 |
|
they're being called for the sake of undoing. |
1251 |
|
@end defvar |
1252 |
|
|
1253 |
@defun primitive-undo count list |
@defun primitive-undo count list |
1254 |
This is the basic function for undoing elements of an undo list. |
This is the basic function for undoing elements of an undo list. |
1255 |
It undoes the first @var{count} elements of @var{list}, returning |
It undoes the first @var{count} elements of @var{list}, returning |
1262 |
undo operations use and update the saved value. The new elements added |
undo operations use and update the saved value. The new elements added |
1263 |
by undoing are not part of this saved value, so they don't interfere with |
by undoing are not part of this saved value, so they don't interfere with |
1264 |
continuing to undo. |
continuing to undo. |
1265 |
|
|
1266 |
|
This function does not bind @code{undo-in-progress}. |
1267 |
@end defun |
@end defun |
1268 |
|
|
1269 |
@node Maintaining Undo |
@node Maintaining Undo |