Fix some settings related to versioning backup files

This commit is contained in:
Tom Willemse 2018-07-15 00:47:07 -07:00
parent ab9083269b
commit 84f8169de3

View file

@ -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)