Prev: Auto Save Control Up: Auto Save

Recovering Data from Auto-Saves

   The way to use the contents of an auto-save file to recover from a
loss of data is with the command `M-x recover-file RET FILE RET'.  This
visits FILE and then (after your confirmation) restores the contents
from from its auto-save file `#FILE#'.  You can then save with `C-x
C-s' to put the recovered text into FILE itself.  For example, to
recover file `foo.c' from its auto-save file `#foo.c#', do:

     M-x recover-file RET foo.c RET
     yes RET
     C-x C-s

   Before asking for confirmation, `M-x recover-file' displays a
directory listing describing the specified file and the auto-save file,
so you can compare their sizes and dates.  If the auto-save file is
older, `M-x recover-file' does not offer to read it.

automatically generated by info2www