From: Michael Albinus Date: Mon, 23 Sep 2024 07:53:17 +0000 (+0200) Subject: * doc/misc/tramp.texi (Frequently Asked Questions): Improve indices. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f23797696a199574aafaa6728cc53db88bc41c51;p=emacs.git * doc/misc/tramp.texi (Frequently Asked Questions): Improve indices. (cherry picked from commit dda7abb177b8eec537b18abb978fcbcb61dd8af1) --- 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