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

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

the real file-attributes function


From: Kin Cho
Subject: the real file-attributes function
Date: 24 Oct 2002 16:52:07 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi,

I want to use the real file-attributes, not the ange-ftp
overloaded one.  In other words, how do I stop this:

(file-attributes "/ftp.geocities.com:/")

from opening a ftp connection?

I see this line in
(put 'file-attributes 'ange-ftp 'ange-ftp-file-attributes)
in ange-ftp.el

so I tried:
(put 'file-attributes 'ange-ftp 'file-attributes)

but this causes infinite recursion when I eval 

(file-attributes "/ftp.geocities.com:/")

Thanks.

-kin


reply via email to

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