move backup dir to the profile dir instead of hard coded path

This commit is contained in:
KemoNine 2022-04-23 09:53:04 -04:00
parent bf32536579
commit b6c751156b
1 changed files with 1 additions and 1 deletions

View File

@ -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