Is there a command for recover the current file from the backup ?
I have a file ~/temp.txt and some backup files !home!djangoliv!temp.txt.~1~ ... !home!djangoliv!temp.txt.~5~, !home!djangoliv!temp.txt.~6~.
I would like to load backup files from the newer version to the older one (like git-time-machine for exemple)
Here my backup configuration
(setq auto-save-default nil)
(setq backup-directory-alist '(("." . "~/.emacs-backup-files/")))
(setq version-control t
vc-make-backup-files t
backup-by-copying t
delete-old-versions -1)
diff-backup
, from which you could then reverse apply the patch to recover, but that command always uses the latest backup file.