From df1930bb243ea2c7d933bdd6113145e535c3948a Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 27 Sep 2004 04:14:08 +0000 Subject: [PATCH] Synch to No Gnus 200409270413. --- lisp/ChangeLog | 4 ++++ lisp/mm-decode.el | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5c6e014..d73e732 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2004-09-27 Katsumi Yamaoka + + * mm-decode.el (mm-copy-to-buffer): Don't use set-buffer-multibyte. + 2004-09-26 Jesper Harder * gnus-dup.el (gnus-dup-open): Use mapc. diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el index 020a065..a06bd4b 100644 --- a/lisp/mm-decode.el +++ b/lisp/mm-decode.el @@ -621,14 +621,14 @@ Postpone undisplaying of viewers for types in "Copy the contents of the current buffer to a fresh buffer." (save-excursion (let ((obuf (current-buffer)) - (multibyte enable-multibyte-characters) beg) (goto-char (point-min)) (search-forward-regexp "^\n" nil t) (setq beg (point)) - (set-buffer (generate-new-buffer " *mm*")) - ;; Preserve the data's unibyteness (for url-insert-file-contents). - (set-buffer-multibyte multibyte) + (set-buffer + ;; Preserve the data's unibyteness (for url-insert-file-contents). + (let ((default-enable-multibyte-characters (mm-multibyte-p))) + (generate-new-buffer " *mm*"))) (insert-buffer-substring obuf beg) (current-buffer)))) -- 1.7.10.4