Subject: bug#79293: [PATCH] Pass dired default filenames via defaults argument

From: Juri Linkov <[email-masked]>
Date: Wed, 27 Aug 2025 20:40:12 +0300

> Also, attached is an updated version of the patch which reflects the
> fact that the "default" variable actually was unused before, only
> "defaults" was used.
> [...]
> -	   (default (and dired-one-file
> -		         (not dired-dwim-target) ; Bug#25609

Removing these lines breaks dired-tests added
in the same commit 841e3e377c97 for Bug#25609 above.

Wouldn't it be safer just to add abbreviate-file-name
in the existing minibuffer-with-setup-hook?
This means code duplication, but avoids the risk
of breaking something.