Subject: Re: bug#58721: 28.2; dired with delete-by-moving-to-trash can't trash directory twice

From: Eli Zaretskii <[email-masked]>
Date: Sun, 30 Oct 2022 20:02:54 +0200

> From: Mike Kupfer <[email-masked]>
> cc: [email-masked], [email-masked]
> Date: Sun, 30 Oct 2022 10:40:24 -0700
> 
> Eli Zaretskii wrote:
> 
> > I just thought you'd be able to call copy-directory, similarly (but
> > differently) to what rename-file does, instead of using your
> > lambda-function.
> 
> Ah, of course.  Thanks, yes, that's cleaner.  How does the attached
> patch look?

Looks good, but maybe add to the comment the reason _why_ we don't use
rename-file for directories.  You explained _what_ we do, but not
_why_.

Thanks.