Commit 303ffde8 authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file

modification time.
parent 21050de1
......@@ -3,6 +3,9 @@
* net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
Don't set `ad-return-value' if `ad-do-it' doesn't.
* net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
modification time.
2009-11-17 Jan Djärv <>
* menu-bar.el: Put "Use system font" in Option-menu.
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment