aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 329c46bdaad..5dd1a2ca4ee 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -3994,6 +3994,7 @@ in @file{.emacs}:
3994@end lisp 3994@end lisp
3995 3995
3996@item 3996@item
3997@vindex tramp-mode
3997To disable both @value{tramp} (and Ange FTP), set @code{tramp-mode} to 3998To disable both @value{tramp} (and Ange FTP), set @code{tramp-mode} to
3998@code{nil} in @file{.emacs}. @strong{Note}, that we don't use 3999@code{nil} in @file{.emacs}. @strong{Note}, that we don't use
3999@code{customize-set-variable}, in order to avoid loading @value{tramp}. 4000@code{customize-set-variable}, in order to avoid loading @value{tramp}.
@@ -4003,6 +4004,21 @@ To disable both @value{tramp} (and Ange FTP), set @code{tramp-mode} to
4003@end lisp 4004@end lisp
4004 4005
4005@item 4006@item
4007@vindex tramp-ignored-file-name-regexp
4008To deactivate @value{tramp} for some look-alike remote file names, set
4009@code{tramp-ignored-file-name-regexp} to a proper regexp in
4010@file{.emacs}. @strong{Note}, that we don't use
4011@code{customize-set-variable}, in order to avoid loading
4012@value{tramp}.
4013
4014@lisp
4015(setq tramp-ignored-file-name-regexp "\\`/ssh:example\\.com:")
4016@end lisp
4017
4018This is needed, if you mount for example a virtual file system on your
4019local host's root directory as @file{/ssh:example.com:}.
4020
4021@item
4006To unload @value{tramp}, type @kbd{M-x tramp-unload-tramp @key{RET}}. 4022To unload @value{tramp}, type @kbd{M-x tramp-unload-tramp @key{RET}}.
4007Unloading @value{tramp} resets Ange FTP plugins also. 4023Unloading @value{tramp} resets Ange FTP plugins also.
4008@end itemize 4024@end itemize