Subject: bug#31068: 27.0.50; Renaming archives fails due to tramp-archive

From: Michael Albinus <[email-masked]>
Date: Thu, 05 Apr 2018 15:39:30 +0200

Andreas Schwab <[email-masked]> writes:

>> Why does `dired-rename-file' calls `dired-rename-subdir'? "/tmp/bar.7z"
>> is just a file.
>
> A file can be a directory, too.
>
>   ;; See if it's an inserted subdir, and rename that, too.

Yes. But "/tmp/bar.7z" isn't a directory, one should call
`file-directory-p' first.

> Andreas.

Best regards, Michael.