diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 4503849..c8342ef 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -71,12 +71,20 @@ (add-hook 'package-menu-mode-hook 'hl-line-mode) -(setq backup-directory-alist `((".*" . ,(oni:data-location "backup-files/")))) +(setq backup-directory-alist + `((".*" . ,(oni:data-location "backup-files/")))) (add-to-list 'auto-save-file-name-transforms `(".*" ,(oni:data-location "auto-save-files/") t) :append) -(setq auto-save-list-file-prefix (oni:data-location "auto-save-list/.saves-")) +(setq auto-save-list-file-prefix + (oni:data-location "auto-save-list/.saves-")) + +(setq delete-old-versions t) +(setq kept-new-versions 20) +(setq kept-old-versions 20) +(setq vc-make-backup-files t) +(setq version-control t) (global-set-key (kbd "C-M-SPC") 'er/expand-region) (global-set-key (kbd "M-+") 'mc/mark-next-like-this)