(memq (ange-ftp-host-type host user)
'(unix dumb-unix))))
(abbr (ange-ftp-abbreviate-filename filename))
+ (coding-system-used last-coding-system-used)
size)
(unwind-protect
(progn
size
(nth 1 (ange-ftp-real-insert-file-contents
temp visit beg end replace))
+ coding-system-used last-coding-system-used
;; override autodetection of buffer file type
;; to ensure buffer is saved in DOS format
buffer-file-type binary)
(progn
(set-visited-file-modtime '(0 0))
(setq buffer-file-name filename)))
+ (setq last-coding-system-used coding-system-used)
(list filename size))
(signal 'file-error
(list