1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(ange-ftp-insert-file-contents): Don't change

last-coding-system-used by the call of ange-ftp-set-ascii-mode.
This commit is contained in:
Kenichi Handa 1999-10-27 04:59:52 +00:00
parent 17dbfaad0e
commit a21da928c0
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -3217,7 +3217,10 @@ system TYPE.")
"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