Fix some settings related to versioning backup files
This commit is contained in:
parent
ab9083269b
commit
84f8169de3
1 changed files with 10 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue