From ca632e701fc63d7b0b89e80b68f6a1fe7ef581fe Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 24 Jul 2025 15:30:13 +0200 Subject: [PATCH] Disable setting connection-local variables in tramp-smb.el * lisp/net/tramp-smb.el: Disable setting connection-local variables. (Bug#78886) (cherry picked from commit 7ade5bd9fbbdf45906c46d5ac9bb2e10bb2e660b) --- lisp/net/tramp-smb.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el index 011017039f5..6982655254c 100644 --- a/lisp/net/tramp-smb.el +++ b/lisp/net/tramp-smb.el @@ -2178,9 +2178,10 @@ Removes smb prompt. Returns nil if an error message has appeared." 'tramp-smb-connection-local-default-system-profile tramp-smb-connection-local-default-system-variables) -(connection-local-set-profiles - `(:application tramp :protocol ,tramp-smb-method) - 'tramp-smb-connection-local-default-system-profile) +;; It must be disabled, see Bug#78886. +;; (connection-local-set-profiles +;; `(:application tramp :protocol ,tramp-smb-method) +;; 'tramp-smb-connection-local-default-system-profile) (add-hook 'tramp-unload-hook (lambda () -- 2.39.5