Revert "Fix moving directories with the same name to trash"

This reverts commit f618cc5bc8.

This patch doesn't cover some corner cases, I think.
This commit is contained in:
Lars Ingebrigtsen 2021-05-08 13:42:51 +02:00
parent f618cc5bc8
commit a6757d10e8

View file

@ -7932,7 +7932,7 @@ Otherwise, trash FILENAME using the freedesktop.org conventions,
(expand-file-name files-base trash-files-dir))
(setq overwrite t
files-base (file-name-nondirectory
(make-temp-name
(make-temp-file
(expand-file-name
files-base trash-files-dir)))))
(setq info-fn (expand-file-name