I want to save all open buffers to the relevant files (not an autosave file) at some regular interval (between 5 and 1 minutes).
This seemed like it was the correct solution:
; In ~/.emacs file make following changes. (require 'auto-save-buffers) (run-with-idle-timer 5 t 'auto-save-buffers)
eval-region on this code gives the following error message:
eval-region: Cannot open load file: no such file or directory, auto-save-buffers. I run emacs 24.4.
auto-save-buffers functionality no longer available? Is there some other way to do what I want? Is it actually the right tool for saving to the file I have opened rather than a separate autosave file?
I have seen
auto-save-buffers-enhanced in the list of available packages (ie.
M-x list-packages) and using that instead of
auto-save-buffers might be an option, but I'd prefer a solution that only requires things that come with emacs by default.