clearUndo ?-w win?
Clear the stack of undoable operations.