summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--init.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.el b/init.el
index 5780280..7aafeff 100644
--- a/init.el
+++ b/init.el
@@ -94,12 +94,11 @@
(jao-load-site-el "pre")
;;; System Utilities
-;;;; session and history
-(setq backup-directory-alist (quote (("." . "~/.emacs.d/backups"))))
-(setq delete-old-versions t
- kept-new-versions 3
- kept-old-versions 2)
+;;;; (no) backups
+(setq vc-make-backup-files nil
+ make-backup-files nil)
+;;;; history (saveplace, recentf, savehist)
(require 'saveplace)
(setq save-place-file (expand-file-name "~/.emacs.d/cache/places"))
(save-place-mode 1)
@@ -108,9 +107,11 @@
recentf-max-saved-items 2000
recentf-exclude '("/home/jao/\\.emacs\\.d/elpa.*/.*"
".*/.git/COMMIT_EDITMSG"))
+
(require 'recentf)
(recentf-mode 1)
+
(setq savehist-file (expand-file-name "~/.emacs.d/cache/history"))
(require 'savehist)