Skip saving (empty) undo data when the save limit is not positive
Merge pull request #752 from Oblomov/dont-save-empty-undos

Skip saving (empty) undo data when the save limit is not positive