files.restoreUndoStack = false
じゃね?