mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-02 11:21:42 +00:00
* net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
modification time.
This commit is contained in:
parent
21050de1b8
commit
303ffde825
@ -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 <jan.h.d@swipnet.se>
|
||||
|
||||
* 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))
|
||||
|
Loading…
Reference in New Issue
Block a user