refactor(users/sterni/emacs): use more persistent tmp dir

Change-Id: I703b7678405f29bc4f0f04e1b42fd35025a80971
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4982
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
sterni 2022-01-17 14:06:05 +01:00
parent 1164f138a6
commit a22bd77859

View file

@ -44,7 +44,10 @@
(mouse-wheel-mode t)
(blink-cursor-mode -1))
;; TODO(sterni): prevent some remaining backup files
;; /tmp is a tmpfs, but we may want to recover from power loss
(custom-set-variables
`(temporary-file-directory ,(concat (getenv "HOME") "/.emacs/tmp")))
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))
(setq backup-directory-alist