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

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

bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarch


From: Drew Adams
Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy
Date: Fri, 24 Feb 2012 08:15:20 -0800

Just a quick question about this:

>> +       (equal (file-attributes (file-truename (expand-file-name file1)))
>> +              (file-attributes (file-truename (expand-file-name file2))))))
>
> I don't understand why you use expand-file-name here:
> file-truename does it for you anyway.

That's true, but only for Emacs 24+.  Is there any chance that this code will be
used (say by Tramp) with Emacs < 24, where `file-truename' does not expand a
relative file name?






reply via email to

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