From 7478afcde3862c978a837ff85ee9d0b21b5a0c15 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Fri, 1 Jan 2021 00:00:37 +0000 Subject: [PATCH] Move things to trash instead of permanently deleting --- config.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config.org b/config.org index 85c5d65..7d81219 100644 --- a/config.org +++ b/config.org @@ -1253,6 +1253,16 @@ (setq backup-by-copying t) #+end_src +** Use trash + Commands like [[help:delete-file][delete-file]] and [[help:delete-directory][delete-directory]], as well as deletion + commands in Dired can be made to move things to trash, instead of + permanently deleting them. This done by setting the + [[help:delete-by-moving-to-trash][delete-by-moving-to-trash]] variable to ~t~. + + #+begin_src emacs-lisp + (setq delete-by-moving-to-trash t) + #+end_src + * Mail Using Mu4e. It requires =mu(1)= tool be set up already. The mu4e emacs package is bundled with the system package rather than