super-save auto-saves your buffers, when certain events happen - e.g. you switch between buffers,
an Emacs frame loses focus, etc. You can think of it as both something that augments and replaces
MELPA Stable is recommended as it has the latest stable version. MELPA has a development snapshot for users who don't mind breakage but don't want to run from a git checkout.
You can install
super-save using the following command:
M-x package-install [RET] super-save [RET]
or if you'd rather keep it in your dotfiles:
(unless (package-installed-p 'super-save) (package-refresh-contents) (package-install 'super-save))
If the installation doesn't work try refreshing the package list:
Add the following to your Emacs config to enable
If you want to enable the additional feature of auto-saving buffers when Emacs is idle, add the following as well:
(setq super-save-auto-save-when-idle t)
At this point you can probably switch off the built-in
auto-save-mode (unless you really care about its backups):
(setq auto-save-default nil)
Copyright © 2015-2016 Bozhidar Batsov and contributors.
Distributed under the GNU General Public License; type C-h C-c to view it.