emacs - Enable backup files with VC
This commit is contained in:
parent
1f88cd9f86
commit
3808c96763
1 changed files with 9 additions and 1 deletions
|
@ -36,7 +36,15 @@
|
||||||
(interactive))
|
(interactive))
|
||||||
|
|
||||||
;; Disable backup
|
;; Disable backup
|
||||||
(setq make-backup-files nil)
|
(setq make-backup-files t)
|
||||||
|
(setq
|
||||||
|
version-control t
|
||||||
|
backup-by-copying t
|
||||||
|
backup-directory-alist '(("." . "~/.saves"))
|
||||||
|
delete-old-versions t
|
||||||
|
kept-new-versions 6
|
||||||
|
kept-old-versions 2)
|
||||||
|
|
||||||
|
|
||||||
(push '("melpa" . "http://melpa.milkbox.net/packages/") package-archives)
|
(push '("melpa" . "http://melpa.milkbox.net/packages/") package-archives)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue