Go to the first, previous, next, last section, table of contents.


Controlling Undo

For the description of one part of controlling the undo feature, the maximum size of the undo-list, see section Undo.

Variable: buffer-record-undo
A buffer-local variable which, when set to nil, stops any undo-information being recorded for the buffer.

When a buffer is created, this variable is always set to t.

Variable: buffer-undo-list
This buffer-local variable stores the actual list of undo-information; each element defines one modification to the buffer.

Don't try to be clever and access the contents of this list; the structure may well change in future revisions of Jade.

The only thing you're allowed to do is set it to nil, this clears all undo-information for the buffer.

Command: undo
Undo every change to the contents of the buffer back to the previous command. Successive calls to this command work backwards through the buffer's undo-list.


Go to the first, previous, next, last section, table of contents.