3.12 Undoing

Commands that modify the text in a buffer can be undone, so that the text reverts to its state before the command was invoked, using Undo. Details of modifying commands are kept in an undo ring so that previous commands can be undone. The undo ring works like a stack, in that commands are pushed onto the ring and can only be popped off on a "last in first out" basis.

Un-Kill can also be used to replace text that has inadvertently been deleted.


Editor Command

Arguments: None
Key sequence: Ctrl+Shift+_

Undoes the last command. If typed repeatedly, the most recent commands in the editing session are successively undone.


Editor Variable

Default value: 100

The number of items in the undo ring.

LispWorks Editor User Guide (Macintosh version) - 14 Mar 2008