* net/tramp.el (tramp-handle-file-local-copy): Set

`enable-multibyte-characters' to nil.  Reported by Chris Moore
<christopher.ian.moore@gmail.com>.
This commit is contained in:
Michael Albinus 2007-01-11 20:08:04 +00:00
parent 959dc6015a
commit d8bba37c56
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-01-11 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-handle-file-local-copy): Set
`enable-multibyte-characters' to nil. Reported by Chris Moore
<christopher.ian.moore@gmail.com>.
2007-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
* diff-mode.el (diff-sanity-check-context-hunk-half)

View file

@ -3812,10 +3812,14 @@ This will break if COMMAND prints a newline, followed by the value of
;; Here is where loc-enc and loc-dec used to be let-bound.
(if (and (symbolp loc-dec) (fboundp loc-dec))
;; If local decoding is a function, we call it.
;; If local decoding is a function, we call it. We
;; must disable multibyte, because
;; `uudecode-decode-region' doesn't handle it
;; correctly.
(let ((tmpbuf (get-buffer-create " *tramp tmp*")))
(set-buffer tmpbuf)
(erase-buffer)
(set-buffer-multibyte nil)
(insert-buffer-substring tramp-buf)
(tramp-message-for-buffer
multi-method method user host