aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2025-07-24 15:30:13 +0200
committerMichael Albinus2025-07-24 15:30:13 +0200
commit7ade5bd9fbbdf45906c46d5ac9bb2e10bb2e660b (patch)
tree737e644e1f3b7c881ab9318b0eeb8c270435b841
parente026b57f077e4a6dcce9c24e31dbf7107b88d409 (diff)
downloademacs-7ade5bd9fbbdf45906c46d5ac9bb2e10bb2e660b.tar.gz
emacs-7ade5bd9fbbdf45906c46d5ac9bb2e10bb2e660b.zip
Disable setting connection-local variables in tramp-smb.el
* lisp/net/tramp-smb.el: Disable setting connection-local variables. (Bug#78886)
-rw-r--r--lisp/net/tramp-smb.el7
1 files 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."
2178 'tramp-smb-connection-local-default-system-profile 2178 'tramp-smb-connection-local-default-system-profile
2179 tramp-smb-connection-local-default-system-variables) 2179 tramp-smb-connection-local-default-system-variables)
2180 2180
2181(connection-local-set-profiles 2181;; It must be disabled, see Bug#78886.
2182 `(:application tramp :protocol ,tramp-smb-method) 2182;; (connection-local-set-profiles
2183 'tramp-smb-connection-local-default-system-profile) 2183;; `(:application tramp :protocol ,tramp-smb-method)
2184;; 'tramp-smb-connection-local-default-system-profile)
2184 2185
2185(add-hook 'tramp-unload-hook 2186(add-hook 'tramp-unload-hook
2186 (lambda () 2187 (lambda ()