; * lisp/net/tramp.el (tramp-skeleton-write-region): Fix last change.

This commit is contained in:
Michael Albinus 2023-08-14 09:42:43 +02:00
parent 3eff53b456
commit fdab7aaada

View file

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