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

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

Re: Function to know weither a dir is local or remote


From: Pascal Quesseveur
Subject: Re: Function to know weither a dir is local or remote
Date: Wed, 26 Oct 2022 10:59:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (windows-nt)

>"MA" == Michael Albinus <michael.albinus@gmx.de> writes:

  MA> For mounted file systems we have the variable `mounted-file-systems'
  MA> which could be used for checks. It is a heuristic based on the local
  MA> file name, 'tho.

I did not know this variable. Actually it could work. In my case
file-truename is of the form //server/dir, and on Windows
mounted-file-systems matches that string.

But anyway the problem was solved without the need for that function.

Thanks,


-- 
Pascal Quesseveur
pquessev@gmail.com




reply via email to

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