https://github.com/chillaranand/real-auto-save.git
git clone 'git://github.com/chillaranand/real-auto-save.git'
Automatically save your all your files at regular intervals.
You can install a snapshot of real-auto-save from the MELPA repository.
Download real-auto-save.el
and put this file in a folder where Emacs can find it.
Add following lines to your .emacs initialization file to enable auto save in all programming modes.
(require 'real-auto-save)
(add-hook 'prog-mode-hook 'real-auto-save-mode)
Auto save interval is 10 seconds by default. You can change it:
(setq real-auto-save-interval 5) ;; in seconds
Thanks to Steve Purcell for reviewing and providing help with development.
Thanks to all contributors!