summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-02-04 20:08:09 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2024-02-04 20:08:09 +0000
commit912611a21e3ae1af6ae203d64855a3798cbcf274 (patch)
treeddc8a57ee5722a594ac59a601626bfd0f644cd81
parent5c63fdd5d68e9058f9b3aeafcd80f8872f3749f4 (diff)
emacs: Trash items instead of deleting them
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 5ad7ba0..b78a9ad 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -4,6 +4,7 @@
auto-save-list-file-prefix (my/cache-file-name "auto-save-list/")
backup-directory-alist `(("." . ,(my/cache-file-name "backups")))
custom-file (my/cache-file-name "custom.el")
+ delete-by-moving-to-trash t
transient-history-file (my/cache-file-name "transient/history.el"))