Save emacs' backup files in ~/.cache

This commit is contained in:
coolneng 2019-10-23 20:54:36 +02:00
parent b4156106c8
commit 35f3ec6db1
1 changed files with 3 additions and 1 deletions

View File

@ -553,6 +553,8 @@ 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
(setq backup-directory-alist `(("." . "~/.cache")))
) )
;; Do not write anything past this comment. This is where Emacs will ;; Do not write anything past this comment. This is where Emacs will
@ -598,7 +600,7 @@ This function is called at the very end of Spacemacs initialization."
'(org-agenda-files (quote ("~/Documents/Uni/DDSI/Code/P1/Design.org"))) '(org-agenda-files (quote ("~/Documents/Uni/DDSI/Code/P1/Design.org")))
'(package-selected-packages '(package-selected-packages
(quote (quote
(ivy-bibtex yapfify yaml-mode xterm-color which-key wgrep web-mode use-package tagedit smex smeargle smartparens slim-mode shell-pop scss-mode sass-mode pyvenv pytest pyenv-mode py-isort pug-mode pip-requirements persp-mode pcre2el pandoc-mode ox-pandoc ht orgit org-plus-contrib multi-term markdown-toc markdown-mode magit-gitflow magit-popup magit macrostep live-py-mode ivy-hydra insert-shebang hydra lv hy-mode dash-functional helm-make haml-mode gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-gutter gh-md fuzzy flycheck-pos-tip pos-tip flycheck flx fish-mode eyebrowse exec-path-from-shell transient git-commit with-editor evil-escape goto-chg eshell-z eshell-prompt-extras esh-help emmet-mode elisp-slime-nav doom-modeline shrink-path disaster diminish diff-hl cython-mode counsel-projectile projectile pkg-info epl counsel swiper ivy company-web web-completion-data company-statistics company-shell company-emacs-eclim eclim company-c-headers company-auctex company-anaconda company cmake-mode clang-format bind-map bind-key auto-yasnippet yasnippet auto-compile packed async anaconda-mode pythonic f s all-the-icons memoize ace-window avy ac-ispell auto-complete popup doom-themes dash))) (pippel pipenv lsp-python-ms python importmagic epc ctable concurrent deferred blacken yapfify yaml-mode xterm-color which-key wgrep web-mode use-package tagedit smex smeargle smartparens slim-mode shell-pop scss-mode sass-mode pyvenv pytest pyenv-mode py-isort pug-mode pip-requirements persp-mode pcre2el pandoc-mode ox-pandoc ht orgit org-plus-contrib multi-term markdown-toc markdown-mode magit-gitflow magit-popup magit macrostep live-py-mode ivy-hydra insert-shebang hydra lv hy-mode dash-functional helm-make haml-mode gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-gutter gh-md fuzzy flycheck-pos-tip pos-tip flycheck flx fish-mode eyebrowse exec-path-from-shell transient git-commit with-editor evil-escape goto-chg eshell-z eshell-prompt-extras esh-help emmet-mode elisp-slime-nav doom-modeline shrink-path disaster diminish diff-hl cython-mode counsel-projectile projectile pkg-info epl counsel swiper ivy company-web web-completion-data company-statistics company-shell company-emacs-eclim eclim company-c-headers company-auctex company-anaconda company cmake-mode clang-format bind-map bind-key auto-yasnippet yasnippet auto-compile packed async anaconda-mode pythonic f s all-the-icons memoize ace-window avy ac-ispell auto-complete popup doom-themes dash)))
'(pdf-view-midnight-colors (quote ("#655370" . "#fbf8ef"))) '(pdf-view-midnight-colors (quote ("#655370" . "#fbf8ef")))
'(safe-local-variable-values '(safe-local-variable-values
(quote (quote