aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2009-07-06 13:37:29 +0000
committerMichael Albinus2009-07-06 13:37:29 +0000
commit3e2fa3535424f158e2e1146d2d2c2d9f61e35799 (patch)
treee4effcf008d7e2d869e53efb527843b93b5b43ed
parentd88782c37fc6b91eadb53b51d7a698037beee5e5 (diff)
downloademacs-3e2fa3535424f158e2e1146d2d2c2d9f61e35799.tar.gz
emacs-3e2fa3535424f158e2e1146d2d2c2d9f61e35799.zip
* net/tramp.el (tramp-handle-write-region): Flush file properties
in case of short track.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/tramp.el16
2 files changed, 17 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 526eb69a20b..14e667f086e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-07-06 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-handle-write-region): Flush file properties
4 in case of short track.
5
12009-07-07 Michael McNamara <mac@mail.brushroad.com> 62009-07-07 Michael McNamara <mac@mail.brushroad.com>
2 7
3 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom 8 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index b410f1499ee..d95430d55d2 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -4403,9 +4403,11 @@ Returns a file name in `tramp-auto-save-directory' for autosaving this file."
4403 (or (file-directory-p localname) 4403 (or (file-directory-p localname)
4404 (file-writable-p localname))))) 4404 (file-writable-p localname)))))
4405 ;; Short track: if we are on the local host, we can run directly. 4405 ;; Short track: if we are on the local host, we can run directly.
4406 (tramp-run-real-handler 4406 (prog1
4407 'write-region 4407 (tramp-run-real-handler
4408 (list start end localname append 'no-message lockname confirm)) 4408 'write-region
4409 (list start end localname append 'no-message lockname confirm))
4410 (tramp-flush-file-property v localname))
4409 4411
4410 (let ((rem-dec (tramp-get-remote-coding v "remote-decoding")) 4412 (let ((rem-dec (tramp-get-remote-coding v "remote-decoding"))
4411 (loc-enc (tramp-get-local-coding v "local-encoding")) 4413 (loc-enc (tramp-get-local-coding v "local-encoding"))
@@ -7836,7 +7838,13 @@ Only works for Bourne-like shells."
7836;; might be worthwhile to add some way to indicate that a particular 7838;; might be worthwhile to add some way to indicate that a particular
7837;; use of process-file is (supposed to be) free of side-effects. 7839;; use of process-file is (supposed to be) free of side-effects.
7838;; (Stefan Monnier) 7840;; (Stefan Monnier)
7839;; * Use lsh instead of ssh (Alfred M. Szmidt) 7841;; * Use lsh instead of ssh. (Alfred M. Szmidt)
7842;; * Implement a general server-local-variable mechanism, as there are
7843;; probably other variables that need different values for different
7844;; servers too. The user could then configure a variable (such as
7845;; tramp-server-local-variable-alist) to define any such variables
7846;; that they need to, which would then be let bound as appropriate
7847;; in tramp functions. (Jason Rumney)
7840 7848
7841;; Functions for file-name-handler-alist: 7849;; Functions for file-name-handler-alist:
7842;; diff-latest-backup-file -- in diff.el 7850;; diff-latest-backup-file -- in diff.el