mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
modification time.
This commit is contained in:
parent
21050de1b8
commit
303ffde825
2 changed files with 7 additions and 0 deletions
|
|
@ -727,6 +727,10 @@ is no information where to trace the message.")
|
|||
(signal (car err) (cdr err)))
|
||||
(delete-file tmpfile)))))
|
||||
|
||||
;; Set file modification time.
|
||||
(when (or (eq visit t) (stringp visit))
|
||||
(set-visited-file-modtime (nth 5 (file-attributes filename))))
|
||||
|
||||
;; The end.
|
||||
(when (or (eq visit t) (null visit) (stringp visit))
|
||||
(tramp-message v 0 "Wrote %s" filename))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue