From f23797696a199574aafaa6728cc53db88bc41c51 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 23 Sep 2024 09:53:17 +0200 Subject: [PATCH] * doc/misc/tramp.texi (Frequently Asked Questions): Improve indices. (cherry picked from commit dda7abb177b8eec537b18abb978fcbcb61dd8af1) --- doc/misc/tramp.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 09662835882..4c8172ac82c 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -6001,6 +6001,8 @@ $ export EDITOR=/path/to/emacsclient.sh @item How to determine whether a buffer is remote? +@findex file-remote-p +@vindex default-directory The buffer-local variable @code{default-directory} tells this. If the form @code{(file-remote-p default-directory)} returns non-@code{nil}, the buffer is remote. See the optional arguments of -- 2.39.5