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: Thu, 20 Oct 2022 11:35:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (windows-nt)

>"EZ" == Eli Zaretskii <eliz@gnu.org> writes:

  EZ> Please show a recipe starting from "emacs -Q" where
  EZ> file-remote-p doesn't work as advertised.

emacs 28.1 on Windows:

(file-remote-p "C:/Users/Public/Applis/appli") -> nil
(file-truename "C:/Users/Public/Applis/appli") -> //server/applis/appli
(file-remote-p (file-truename "C:/Users/Public/Applis/appli")) -> nil


-- 
Pascal Quesseveur
pquessev@gmail.com




reply via email to

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