summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2024-09-23 09:53:17 +0200
committerMichael Albinus <michael.albinus@gmx.de>2024-09-23 09:53:17 +0200
commitdda7abb177b8eec537b18abb978fcbcb61dd8af1 (patch)
tree87f3edb0b2a37fdfda8118e702452ff1953dad6f /doc
parent3fb966dc6392e1908304a1b6fe481da9f670cfbb (diff)
* doc/misc/tramp.texi (Frequently Asked Questions): Improve indices.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index a0a0a7164fb..5d26fc03336 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -6017,6 +6017,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