summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2022-11-14 08:18:00 -0500
committerMatthew Kosarek <mattkae@protonmail.com>2022-11-14 08:18:00 -0500
commit15d2e336b16f32036fe054a89c89c962039b066f (patch)
tree2c6deb65b1c9efe63a12b5001d9389188215cbd7 /lisp
parent2645ecc57810a151303924781e983a8c9138cf10 (diff)
Better save areas
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