Clear the undo/redo buffer when a file is saved. Uncheck this option to enable undo/redo after saving the file.