It's not exactly the same. There is no connection between locked and saved states. Evgeni On Thu, May 30, 2013 at 7:10 PM, Michael Heerdegen wrote: > E Sabof writes: > > > Plus there is no easy way to protect a buffer from accidental > > killing. > > There is a built-in package for exactly that: emacs-lock.el. > > Michael. >