* doc/misc/tramp.texi (Frequently Asked Questions): Remove tramp-mode.
* lisp/net/tramp.el (tramp-mode): Make it a defvar. People shouldn't
customize it manually.
(cherry picked from commit
bfaa3e029f65a9f2a2509a370579ecb74589ddc5)
(inhibit-remote-files)
@end lisp
-@vindex tramp-mode
-This command sets the user option @code{tramp-mode} to @code{nil}.
-
@findex without-remote-files
@item
If you write code, which is intended to run only for local files, you
@end lisp
This improves performance, because many primitive file name operations
-don't check any longer for @value{tramp} file name regexps then. The
-macro binds the user option @code{tramp-mode} to @code{nil}.
+don't check any longer for @value{tramp} file name regexps then.
@findex tramp-unload-tramp
@item
;; Maybe we need once a real Tramp mode, with key bindings etc.
;;;###autoload
-(defcustom tramp-mode t
+(defvar tramp-mode t
"Whether Tramp is enabled.
If it is set to nil, all remote file names are used literally. Don't
set it manually, use `inhibit-remote-files' or `without-remote-files'
-instead."
- :type 'boolean
- :link '(tramp-info-link :tag "Tramp manual" tramp-mode)
- :link '(info-link :tag "Emacs manual" "(emacs) Remote Files")
- :link '(info-link :tag "Elisp manual" "(elisp) Magic File Names"))
+instead.")
(defcustom tramp-backup-directory-alist nil
"Alist of filename patterns and backup directory names.