Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
303ffde8
Commit
303ffde8
authored
Nov 17, 2009
by
Michael Albinus
Browse files
* net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
modification time.
parent
21050de1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/net/tramp-gvfs.el
lisp/net/tramp-gvfs.el
+4
-0
No files found.
lisp/ChangeLog
View file @
303ffde8
...
...
@@ -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.
...
...
lisp/net/tramp-gvfs.el
View file @
303ffde8
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment