Fix bug #8780 with decoding files after using ange-ftp.

lisp/net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
 buffer-file-type before setting its value, to avoid disastrous
 global effects on decoding files for DOS/Windows systems.
This commit is contained in:
Eli Zaretskii 2011-06-09 12:40:51 +03:00
parent 499719b776
commit 638e9005f1
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2011-06-09 Eli Zaretskii <eliz@gnu.org>
* net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
buffer-file-type before setting its value, to avoid disastrous
global effects on decoding files for DOS/Windows systems.
(Bug#8780)
2011-06-05 Juanma Barranquero <lekktu@gmail.com>
* progmodes/python.el (python-after-info-look): Add autoload cookie.

View file

@ -3290,6 +3290,7 @@ system TYPE.")
(binary (or (ange-ftp-binary-file filename)
(memq (ange-ftp-host-type host user)
'(unix dumb-unix))))
(buffer-file-type buffer-file-type)
(abbr (ange-ftp-abbreviate-filename filename))
(coding-system-used last-coding-system-used)
size)