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: Michael Albinus
Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy
Date: Fri, 13 Jan 2012 16:14:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

> On Fri, Jan 13, 2012 at 15:14, Drew Adams <address@hidden> wrote:
>
>>  (and (equal (file-remote-p file1) (file-remote-p file2))
>
> Why is the file-remote-p needed?

For some simple cases, `file-remote-p' does the correct expansion.

(file-remote-p "/sudo::") => "/sudo:address@hidden:"

With this expansion, "/sudo::/path/file" and "/sudo:host:/path/file"
would be equal.

> Juanma

Best regards, Michael.





reply via email to

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