From 35f3ec6db1f6086fb6d6e43b75b5becec833ae55 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 23 Oct 2019 20:54:36 +0200 Subject: [PATCH] Save emacs' backup files in ~/.cache --- emacs/.spacemacs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/.spacemacs b/emacs/.spacemacs index 340416e..4d7b1a4 100644 --- a/emacs/.spacemacs +++ b/emacs/.spacemacs @@ -553,6 +553,8 @@ 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 + (setq backup-directory-alist `(("." . "~/.cache"))) ) ;; 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"))) '(package-selected-packages (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"))) '(safe-local-variable-values (quote