I use Emacs AUCTEX to handle tex files. I accidentally overwrote the content of a tex file and the old content is gone. Let's say the file is file.tex. I do have the file.tex~ which was modified before getting messed up.

Is there any way to recover the old tex file?


You just need to rename file.tex~ to file.tex

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.