Real auto saving for emacs

While editing text, I have a habit to save the file frequently, because even a thought oflosing the text potentially makes me uncomfortable. I decide to liberate me from this unpleasant state by introducing a helper to automatically save the text.


Download real-auto-save.el and put it in a folder where Emacs can find it. Add following lines to your .emacs initialization file:

    (require 'real-auto-save)
    (add-hook 'text-mode-hook 'turn-on-real-auto-save)
    (add-hook 'muse-mode-hook 'turn-on-real-auto-save)
Auto save interval is 10 seconds by default. You can change it:
    (setq real-auto-save-interval 5) ;; in seconds