[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f618cc5: Fix moving directories with the same name to trash
From: |
Lars Ingebrigtsen |
Subject: |
master f618cc5: Fix moving directories with the same name to trash |
Date: |
Sat, 8 May 2021 07:40:50 -0400 (EDT) |
branch: master
commit f618cc5bc83d3822759c5bb85d15320651ca2431
Author: Codruț Constantin Gușoi <mail@codrut.pro>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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
---
lisp/files.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/files.el b/lisp/files.el
index 93a0e07..da33ee8 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f618cc5: Fix moving directories with the same name to trash,
Lars Ingebrigtsen <=