|
|
@@ -1761,11 +1761,9 @@ Stores all backups and temp files in =~/.bak.emacs/= |
|
|
|
(setq backup-by-copying t) ; Stop shinanigans with links |
|
|
|
(setq backup-directory-alist '((".*" . "~/.bak.emacs/backup/"))) |
|
|
|
;; Creates directory if it doesn't already exist |
|
|
|
(if (eq nil (file-exists-p "~/.bak.emacs/")) |
|
|
|
(make-directory "~/.bak.emacs/")) |
|
|
|
(make-directory "~/.bak.emacs/" t) |
|
|
|
;; Creates auto directory if it doesn't already exist |
|
|
|
(if (eq nil (file-exists-p "~/.bak.emacs/auto")) |
|
|
|
(make-directory "~/.bak.emacs/auto")) |
|
|
|
(make-directory "~/.bak.emacs/auto" t) |
|
|
|
;; backup in one place. flat, no tree structure |
|
|
|
(setq auto-save-file-name-transforms '((".*" "~/.bak.emacs/auto/" t))) |
|
|
|
#+END_SRC |