From 7ade5bd9fbbdf45906c46d5ac9bb2e10bb2e660b 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) --- 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 b5a13ba6a41..2545c7f49f7 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 ()