Skip to content

Instantly share code, notes, and snippets.

@kurogomapurin
Created April 27, 2015 04:49
Show Gist options
  • Save kurogomapurin/555650e6e8b685ba616d to your computer and use it in GitHub Desktop.
Save kurogomapurin/555650e6e8b685ba616d to your computer and use it in GitHub Desktop.
auto-save-buffer-enhanced
(require 'auto-save-buffers-enhanced)
(auto-save-buffers-enhanced t)
(setq auto-save-buffers-enhanced-include-regexps '(".+"))
(setq auto-save-buffers-enhanced-exclude-regexps '("^not-save-file" "\\.ignore$"))
(global-set-key "\C-xas" 'auto-save-buffers-enhanced-toggle-activity)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment