Next Prev Up Top Contents Index

3.10 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.

Undo

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.

Undo-Ring-Size

Editor Variable

Default value: 100

The number of items in the undo ring.


LispWorks Editor User Guide - 14 Dec 2001

Next Prev Up Top Contents Index