Function: inhibit-remote-files
inhibit-remote-files is an interactive and byte-compiled function
defined in tramp.el.gz.
Signature
(inhibit-remote-files)
Documentation
Deactivate remote file names.
Probably introduced at or before Emacs version 30.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;;;###autoload
(progn (defun inhibit-remote-files ()
"Deactivate remote file names."
(interactive)
(when (fboundp 'tramp-cleanup-all-connections)
(funcall 'tramp-cleanup-all-connections))
(tramp-unload-file-name-handlers)
(setq tramp-mode nil)))