https://github.com/EricCrosson/unkillable-scratch.git
git clone 'git://github.com/EricCrosson/unkillable-scratch.git'
Disallow the scratch buffer from being killed.
Install from melpa with M-x
package-install RET unkillable-scratch RET
.
For more information see my writeup about this package here.