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
3e2fa353
Commit
3e2fa353
authored
Jul 06, 2009
by
Michael Albinus
Browse files
* net/tramp.el (tramp-handle-write-region): Flush file properties
in case of short track.
parent
d88782c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/tramp.el
lisp/net/tramp.el
+12
-4
No files found.
lisp/ChangeLog
View file @
3e2fa353
2009-07-06 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-handle-write-region): Flush file properties
in case of short track.
2009-07-07 Michael McNamara <mac@mail.brushroad.com>
* verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
...
...
lisp/net/tramp.el
View file @
3e2fa353
...
...
@@ -4403,9 +4403,11 @@ Returns a file name in `tramp-auto-save-directory' for autosaving this file."
(or (file-directory-p localname)
(file-writable-p localname)))))
;; Short track: if we are on the local host, we can run directly.
(tramp-run-real-handler
'write-region
(list start end localname append 'no-message lockname confirm))
(prog1
(tramp-run-real-handler
'write-region
(list start end localname append 'no-message lockname confirm))
(tramp-flush-file-property v localname))
(let ((rem-dec (tramp-get-remote-coding v "remote-decoding"))
(loc-enc (tramp-get-local-coding v "local-encoding"))
...
...
@@ -7836,7 +7838,13 @@ Only works for Bourne-like shells."
;; might be worthwhile to add some way to indicate that a particular
;; use of process-file is (supposed to be) free of side-effects.
;; (Stefan Monnier)
;; * Use lsh instead of ssh (Alfred M. Szmidt)
;; * Use lsh instead of ssh. (Alfred M. Szmidt)
;; * Implement a general server-local-variable mechanism, as there are
;; probably other variables that need different values for different
;; servers too. The user could then configure a variable (such as
;; tramp-server-local-variable-alist) to define any such variables
;; that they need to, which would then be let bound as appropriate
;; in tramp functions. (Jason Rumney)
;; Functions for file-name-handler-alist:
;; diff-latest-backup-file -- in diff.el
...
...
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