projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4e8a1e
)
Fix moving directories with the same name to trash
author
Codruț Constantin Gușoi
<mail@codrut.pro>
Sat, 8 May 2021 11:40:03 +0000
(13:40 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 8 May 2021 11:40:03 +0000
(13:40 +0200)
* 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
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index 93a0e07aba0b774ea8bc3d350c25f4e6dd4c42e6..da33ee815fee13a7222a5ae77ac2a1a85093be76 100644
(file)
--- 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-
fil
e
+ (make-temp-
nam
e
(expand-file-name
files-base trash-files-dir)))))
(setq info-fn (expand-file-name