aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/tramp.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index db3b3f7fee5..ea6ad15dc3d 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2970,7 +2970,7 @@ Starting with Emacs 26, you could use connection-local variables for
2970setting different values of @code{explicit-shell-file-name} for 2970setting different values of @code{explicit-shell-file-name} for
2971different remote hosts. 2971different remote hosts.
2972@ifinfo 2972@ifinfo
2973@pxref{Connection Local Variables, , , elisp} 2973@xref{Connection Variables, , , emacs}
2974@end ifinfo 2974@end ifinfo
2975 2975
2976@lisp 2976@lisp
@@ -3023,6 +3023,14 @@ host. Example:
3023@kbd{M-x auto-revert-tail-mode @key{RET}} runs similarly showing 3023@kbd{M-x auto-revert-tail-mode @key{RET}} runs similarly showing
3024continuous output. 3024continuous output.
3025 3025
3026@code{shell-command} uses the variables @code{shell-file-name} and
3027@code{shell-command-switch} in order to determine which shell to run.
3028For remote hosts, their default values are @file{/bin/sh} and
3029@option{-c}, respectively (except for the @option{adb} method, which
3030uses @file{/system/bin/sh}). Like the variables in the previous
3031section, these variables can be changed via connection-local
3032variables.
3033
3026 3034
3027@subsection Running @code{eshell} on a remote host 3035@subsection Running @code{eshell} on a remote host
3028@cindex @code{eshell} 3036@cindex @code{eshell}