Subject: bug#30624: 27.0.50; dired-create-destination-dirs doesn't work when renaming more than one file

From: Eli Zaretskii <[email-masked]>
Date: Mon, 19 Mar 2018 11:48:39 +0200

> From: Amos Bird <[email-masked]>
> Date: Tue, 27 Feb 2018 10:29:09 +0800
> 
> I'm using emacs 27.0.50 and have dired-create-destination-dirs set 
> to 'always.
> When renaming more than one files to a new directory, dired throws 
> an error at
> /usr/local/share/emacs/27.0.50/lisp/dired-aux.el.gz:1891 . It 
> fails early before
> it has time to check whether a new directory should be created.

Sorry for the long delay in handling your report.

Tino, could you please look into fixing this?  It looks like your
change that introduced dired-create-destination-dirs didn't support
the use case where several files are marked to be moved to a single
non-existent directory.