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 mapped drive


From: Drew Adams
Subject: RE: testing for a remote file to include file on a Windows mapped drive
Date: Fri, 25 Jan 2008 10:54:36 -0800

I should have mentioned that all I've come up with for this so far is this:

(and (memq system-type '(ms-dos windows-nt))
     (string-match "[^/]?:" input))

But of course a file name could contain a colon (:), which would give false
positives. Still, this is better than nothing.

Is there some way to ask Windows (from Emacs) whether a drive letter is
mapped or local?





reply via email to

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