From 7f18d930dea15fe3c7bca642e0c9dccdab0a4465 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Tue, 20 Aug 2024 21:20:58 -0400 Subject: [PATCH] Add delete-by-moving-to-trash --- init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.el b/init.el index fbf74f4..4921996 100644 --- a/init.el +++ b/init.el @@ -97,6 +97,9 @@ ;; Configure Emacs to ask for confirmation before exiting (setq confirm-kill-emacs 'y-or-n-p) +;; Delete by moving to trash in interactive mode +(setq delete-by-moving-to-trash (not noninteractive)) + ;;; Files ;; Disable the warning "X and Y are the same file". Ignoring this warning is