Prior to this change, scratch buffers were saved only when Emacs is killed. In cases where Emacs doesn't die properly, you'd lose your scratch contents. Now, they are persisted as soon as you close them.