Add remote-file-name-inhibit-delete-by-moving-to-trash

This commit is contained in:
James Cherti
2025-02-27 10:12:37 -05:00
parent be36938fd1
commit ce4582d1bd

View File

@@ -130,6 +130,7 @@
;; Delete by moving to trash in interactive mode ;; Delete by moving to trash in interactive mode
(setq delete-by-moving-to-trash (not noninteractive)) (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 ;; 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. ;; acceptable since it will redirect you to the existing buffer regardless.