[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: the real file-attributes function
From: |
Stefan Monnier <address@hidden> |
Subject: |
Re: the real file-attributes function |
Date: |
25 Oct 2002 10:23:28 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Kin" == Kin Cho <kin@neoscale.com> writes:
> 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)
Fiddling with those attributes will just break ange-ftp.
You're better off disabling it rather than breaking it.
Take a look at file-name-handlers-alist and remove the ange-ftp
entries there.
I'm curious, tho: why exactly do you want to do that ?
Stefan