From 0f92b5d7e84c07de89ab5fd5713ce5405b3d86c7 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Fri, 28 Feb 2025 10:38:04 +0100 Subject: [PATCH] * lisp/net/tramp.el (tramp-mode): Set to nil on MS-DOS. (cherry picked from commit 5447b015a44d411606687999a7a5803d19899f23) --- lisp/net/tramp.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 9cefeafea6e..d63dda18f8e 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -120,9 +120,9 @@ :version "22.1" :link '(info-link :tag "Tramp manual" "(tramp) Top")) -;; Maybe we need once a real Tramp mode, with key bindings etc. +;; On MS-DOS, there is no process support. ;;;###autoload -(defvar tramp-mode t +(defvar tramp-mode (not (eq system-type 'ms-dos)) "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' -- 2.39.5