From b6c751156baea6c4fc0152cfc70e81cf6c774f83 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 23 Apr 2022 09:53:04 -0400 Subject: [PATCH] move backup dir to the profile dir instead of hard coded path --- common/_global.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/_global.el b/common/_global.el index 8bdbb82..6fd2090 100644 --- a/common/_global.el +++ b/common/_global.el @@ -169,7 +169,7 @@ (ido-mode 1) (setq-default tab-width 4) ; sanity! (electric-indent-mode 0) ; return should NOT fuck with the indentation of the previous line -(setq backup-directory-alist `(("." . "~/.emacs.d/saves"))) ; Move the auto backups to a dedicated 'zone' +(setq backup-directory-alist `(("." . (expand-file-name "saves" user-emacs-directory)))) ; Move the auto backups to a dedicated 'zone' (setq backup-by-copying t) ; safest form of backup file creation ; Config backups so we have *more*, not less (setq delete-old-versions t