Move emacs autosave files to cache

This commit is contained in:
coolneng 2019-11-25 03:27:49 +01:00
parent aa2cf15846
commit 19d2cab38f
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 1 deletions

View File

@ -557,8 +557,10 @@ before packages are loaded."
(setq org-ref-default-bibliography '("~/Documents/Uni/DDSI/Code/IGDB/Assets/Citations.bib")) (setq org-ref-default-bibliography '("~/Documents/Uni/DDSI/Code/IGDB/Assets/Citations.bib"))
; Auto cleanup recentf ; Auto cleanup recentf
(setq recentf-auto-cleanup 120) (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 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 ; Redirect stdout to results in org for python
(setq org-babel-default-header-args:python (setq org-babel-default-header-args:python
'((:exports . "both") '((:exports . "both")