From e95d51be608d893b5bf5442f2851bc92b58bf877 Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Sat, 26 Aug 2023 19:14:36 -0500 Subject: [PATCH] Fixing path to Trash for Emacs saving backup files. --- .config/emacs/config.el | 2 +- .config/emacs/config.org | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/emacs/config.el b/.config/emacs/config.el index 29afa2a..a37a036 100644 --- a/.config/emacs/config.el +++ b/.config/emacs/config.el @@ -11,7 +11,7 @@ (use-package all-the-icons-dired :hook (dired-mode . (lambda () (all-the-icons-dired-mode t)))) -(setq backup-directory-alist '((".*" . "~/.Trash"))) +(setq backup-directory-alist '((".*" . "~/.local/share/Trash/files"))) (use-package company :defer 2 diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 26f44c9..b113e23 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -82,7 +82,7 @@ This is an icon set that can be used with dashboard, dired, ibuffer and other Em By default, Emacs creates automatic backups of files in their original directories, such "file.el" and the backup "file.el~". This leads to a lot of clutter, so let's tell Emacs to put all backups that it creates in the =TRASH= directory. #+begin_src emacs-lisp -(setq backup-directory-alist '((".*" . "~/.Trash"))) +(setq backup-directory-alist '((".*" . "~/.local/share/Trash/files"))) #+end_src