+2008-05-16 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp.el (tramp-handle-write-region): Fix check for short
+ track. Reported by Glenn Morris <rgm@gnu.org>.
+
2008-05-16 Eric S. Raymond <esr@snark.thyrsus.com>
* vc.el: Remove my analysis of SCCS/RCS concurrency issues from
;; `file-writable-p' calls 'file-expand-file-name'. We
;; cannot use `tramp-run-real-handler' therefore.
(let (file-name-handler-alist)
- (file-writable-p (file-name-directory localname))
- (or (file-directory-p localname)
- (file-writable-p localname))))
+ (and
+ (file-writable-p (file-name-directory localname))
+ (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