From 19d2cab38feb3137f5ed1d2b936990ace398b985 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 25 Nov 2019 03:27:49 +0100 Subject: [PATCH] Move emacs autosave files to cache --- emacs/.spacemacs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/.spacemacs b/emacs/.spacemacs index a54b44f..1c5c7c8 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -557,8 +557,10 @@ before packages are loaded." (setq org-ref-default-bibliography '("~/Documents/Uni/DDSI/Code/IGDB/Assets/Citations.bib")) ; Auto cleanup recentf (setq recentf-auto-cleanup 120) - ; Save backup files to ~/.cache + ; Save backup files to ~/.cache and autosave files to ~/.cache/emacs (setq backup-directory-alist `(("." . "~/.cache"))) + (setq auto-save-list-file-prefix + (concat user-temporary-file-directory "~/.cache/emacs")) ; Redirect stdout to results in org for python (setq org-babel-default-header-args:python '((:exports . "both")