From ce4582d1bdcb2ddaebb7d751db426f9209e77c29 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Thu, 27 Feb 2025 10:12:37 -0500 Subject: [PATCH] Add remote-file-name-inhibit-delete-by-moving-to-trash --- init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/init.el b/init.el index 0a0ac12..857f21e 100644 --- a/init.el +++ b/init.el @@ -130,6 +130,7 @@ ;; Delete by moving to trash in interactive mode (setq delete-by-moving-to-trash (not noninteractive)) +(setq remote-file-name-inhibit-delete-by-moving-to-trash t) ;; Disable the warning "X and Y are the same file". Ignoring this warning is ;; acceptable since it will redirect you to the existing buffer regardless.