Fix bug #8780 with decoding files after using ange-ftp.
authorEli Zaretskii <eliz@gnu.org>
Thu, 9 Jun 2011 09:40:51 +0000 (12:40 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 9 Jun 2011 09:40:51 +0000 (12:40 +0300)
commit638e9005f1a275c6f8f3298ae7aaca4dba3abb25
tree23daaad5b163011c0b24cf89f63d3164e5b87d2a
parent499719b7762b7dea99f0306b9d907ba50432215e
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.
lisp/ChangeLog
lisp/net/ange-ftp.el