bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58182: 29.0.50; rename-visited-file: Selecting a directory almost wo


From: Lars Ingebrigtsen
Subject: bug#58182: 29.0.50; rename-visited-file: Selecting a directory almost works
Date: Fri, 30 Sep 2022 15:07:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

miha@kamnitnik.top writes:

> Visit an existing file and type
>
> M-x rename-visited-file RET /path/to/existing/directory/ending/with/slash/ RET
>
> and notice that the command half succeeds.
>
> The file is successfully copied to the target directory, because
> 'rename-file' handles directories. 'set-visited-file-name' doesn't
> handle directories and signals an error.

I've now fixed this in Emacs 29.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]