aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2007-01-11 20:08:04 +0000
committerMichael Albinus2007-01-11 20:08:04 +0000
commitd8bba37c56a3a91e5ab1dbe35311f243b157f940 (patch)
tree5310560eab654b50417b555b316f098d1a99d72e
parent959dc6015aa5cabb19bda9d29b69772298038a2f (diff)
downloademacs-d8bba37c56a3a91e5ab1dbe35311f243b157f940.tar.gz
emacs-d8bba37c56a3a91e5ab1dbe35311f243b157f940.zip
* net/tramp.el (tramp-handle-file-local-copy): Set
`enable-multibyte-characters' to nil. Reported by Chris Moore <christopher.ian.moore@gmail.com>.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/net/tramp.el6
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 39bd07ac23a..4ed8a4c18dc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12007-01-11 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-handle-file-local-copy): Set
4 `enable-multibyte-characters' to nil. Reported by Chris Moore
5 <christopher.ian.moore@gmail.com>.
6
12007-01-11 Stefan Monnier <monnier@iro.umontreal.ca> 72007-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * diff-mode.el (diff-sanity-check-context-hunk-half) 9 * diff-mode.el (diff-sanity-check-context-hunk-half)
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 4d3ee29c4d6..6577a775c96 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -3812,10 +3812,14 @@ This will break if COMMAND prints a newline, followed by the value of
3812 3812
3813 ;; Here is where loc-enc and loc-dec used to be let-bound. 3813 ;; Here is where loc-enc and loc-dec used to be let-bound.
3814 (if (and (symbolp loc-dec) (fboundp loc-dec)) 3814 (if (and (symbolp loc-dec) (fboundp loc-dec))
3815 ;; If local decoding is a function, we call it. 3815 ;; If local decoding is a function, we call it. We
3816 ;; must disable multibyte, because
3817 ;; `uudecode-decode-region' doesn't handle it
3818 ;; correctly.
3816 (let ((tmpbuf (get-buffer-create " *tramp tmp*"))) 3819 (let ((tmpbuf (get-buffer-create " *tramp tmp*")))
3817 (set-buffer tmpbuf) 3820 (set-buffer tmpbuf)
3818 (erase-buffer) 3821 (erase-buffer)
3822 (set-buffer-multibyte nil)
3819 (insert-buffer-substring tramp-buf) 3823 (insert-buffer-substring tramp-buf)
3820 (tramp-message-for-buffer 3824 (tramp-message-for-buffer
3821 multi-method method user host 3825 multi-method method user host