Fix moving directories with the same name to trash
* lisp/files.el (move-file-to-trash): Allow moving several directories with the same name to Trash (bug#48280). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
e4e8a1e834
commit
f618cc5bc8
1 changed files with 1 additions and 1 deletions
|
@ -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-file
|
||||
(make-temp-name
|
||||
(expand-file-name
|
||||
files-base trash-files-dir)))))
|
||||
(setq info-fn (expand-file-name
|
||||
|
|
Loading…
Add table
Reference in a new issue