Recover autosaved file in emacs

Open the file you were editing before you were interrupted.


M-x recover-file <Enter> 

If the file is locked, you will be asked to either:

s-Steal the lock

p-proceed despite lock


Choose s, and save the file.


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.