From 3808c967639bf4249c5553a9807d79f6c2d2565d Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Fri, 13 Oct 2017 18:04:40 +0200 Subject: [PATCH] emacs - Enable backup files with VC --- emacs/.emacs.d/init.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 583f302..a96c4cd 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -36,7 +36,15 @@ (interactive)) ;; 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)