summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 09f2afc..617b035 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -2,7 +2,10 @@
;;; Code:
;; Backup files
-(setq backup-directory-alist `(("." . "~/.emacs_saves")))
+(setq backup-directory-alist
+ `((".*" . ,temporary-file-directory)))
+(setq auto-save-file-name-transforms
+ `((".*" ,temporary-file-directory t)))
(setq backup-by-copying t)
(setq delete-old-versions t
kept-new-versions 6