1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 15:00:42 -08:00

Disable setting connection-local variables in tramp-smb.el

* lisp/net/tramp-smb.el: Disable setting connection-local
variables.  (Bug#78886)
This commit is contained in:
Michael Albinus 2025-07-24 15:30:13 +02:00
parent e026b57f07
commit 7ade5bd9fb

View file

@ -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 ()