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: Michael Albinus
Subject: Re: Function to know weither a dir is local or remote
Date: Wed, 26 Oct 2022 10:25:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Pascal Quesseveur <pquessev@gmail.com> writes:

Hi,

> As I said it was not clear for me from the doc. For all the reasons
> mentioned I didn't think it was possible that such a function existed
> but I wanted to make sure.

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

See function `temporary-file-directory' which uses it.

> Thanks.

Best regards, Michael.



reply via email to

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