From fdab7aaadacaaddef2733a9dae0dea643feb7481 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 14 Aug 2023 09:42:43 +0200 Subject: [PATCH] ; * lisp/net/tramp.el (tramp-skeleton-write-region): Fix last change. --- lisp/net/tramp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index caa6baabc31..d10f93b34b2 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -3781,7 +3781,7 @@ BODY is the backend specific code." ;; likely that it is needed shortly after `write-region'. (tramp-set-file-property v localname "file-exists-p" t) - (let ((need-chown t)) + (let (last-coding-system-used (need-chown t)) ;; Set file modification time. (when (or (eq ,visit t) (stringp ,visit)) (when-let ((file-attr (file-attributes filename 'integer))) -- 2.39.2