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

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

Re: the real file-attributes function


From: Barry Margolin
Subject: Re: the real file-attributes function
Date: Fri, 25 Oct 2002 00:24:45 GMT

In article <7ibs5j1jko.fsf@neoscale.com>, Kin Cho  <kin@neoscale.com> wrote:
>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:/")

(remprop 'file-attributes 'ange-ftp)

-- 
Barry Margolin, barmar@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


reply via email to

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