diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-12-16 17:54:35 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-12-16 17:54:35 +0200 |
commit | 303d6ac1423de298dd46728bc21a18ebb42662dc (patch) | |
tree | fddc173bec25dce6ddcbb535616df8a573c7e0f9 /lisp/term/xterm.el | |
parent | dc78779c0cd1f057830458f341c280ddb6695409 (diff) | |
download | emacs-303d6ac1423de298dd46728bc21a18ebb42662dc.tar.gz emacs-303d6ac1423de298dd46728bc21a18ebb42662dc.tar.bz2 emacs-303d6ac1423de298dd46728bc21a18ebb42662dc.zip |
Fix moving to trash files that overwrite dangling symlinks there
* lisp/files.el (file-exists-in-trash-p): New function.
(move-file-to-trash): Use it instead of 'file-exists-p' when
testing whether the file exist in the trash. (Bug#59986)
Diffstat (limited to 'lisp/term/xterm.el')
0 files changed, 0 insertions, 0 deletions