last-coding-system-used by the call of ange-ftp-set-ascii-mode.
+1999-10-27 Kenichi Handa <handa@etl.go.jp>
+
+ * ange-ftp.el (ange-ftp-insert-file-contents): Don't change
+ last-coding-system-used by the call of ange-ftp-set-ascii-mode.
+
1999-10-27 Richard M. Stallman <rms@caffeine.ai.mit.edu>
* emacs-lisp/advice.el (ad-activate-internal): Renamed from
"FTP Error: %s not arrived or readable"
filename)))))
(if binary
- (ange-ftp-set-ascii-mode host user))
+ ;; We must keep `last-coding-system-used'
+ ;; unchanged.
+ (let (last-coding-system-used)
+ (ange-ftp-set-ascii-mode host user)))
(ange-ftp-del-tmp-name temp))
(if visit
(progn