emacs-devel
[Top][All Lists]
Advanced

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

Re: testing for a remote file to include file on a Windows mappeddrive


From: Jason Rumney
Subject: Re: testing for a remote file to include file on a Windows mappeddrive
Date: Sat, 26 Jan 2008 15:23:59 +0000
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Michael Albinus wrote:
Stefan Monnier <address@hidden> writes:

(let ((file-name-handlers-alist nil)) (file-readable-p <FILE>)).

(and (not (file-remote-p file)) (file-readable-p file))

There could be file name handlers, which have an own implementation of
file-readable-p for local files.

If you are running an external process which needs to read the file, then it needs to be readable without any file-handler specifics.




reply via email to

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