]> git.eshelyaron.com Git - emacs.git/commit
Fix problem when moving files called ~ to the trash
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 24 Jul 2021 11:34:52 +0000 (13:34 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 24 Jul 2021 11:34:52 +0000 (13:34 +0200)
commit86a795f6dd6c690d83eddd753a4972c555a1ac5f
treeb2436dac9d27a584a7daa09f61460a23b93d2a18
parent5431a58e86d3f2579c1edf1dc8d7074de73ac694
Fix problem when moving files called ~ to the trash

* lisp/files.el (move-file-to-trash): Construct the trash file
name safely (bug#49711).  This makes (move-file-to-trash "/tmp/~")
etc work.
lisp/files.el