From 33e2f72c04be3ff98e7ef5895b0fe5e0f7bc14ed Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 5 Apr 2008 20:14:17 +0000 Subject: [PATCH] (nnheader-init-server-buffer): Change buffer's multibyteness after rather than before erasing it. --- lisp/gnus/ChangeLog | 3 +++ lisp/gnus/nnheader.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 7cfa5358c63..028a015a279 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,8 @@ 2008-04-05 Stefan Monnier + * nnheader.el (nnheader-init-server-buffer): Change buffer's multibyteness + after rather than before erasing it. + * gnus-art.el (gnus-mime-replace-part): Remove unnecessary use of mm-with-multibyte. (gnus-request-article-this-buffer): Make sure the proper decoding is used diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el index 7bb573a4950..15e6a6c093f 100644 --- a/lisp/gnus/nnheader.el +++ b/lisp/gnus/nnheader.el @@ -575,8 +575,8 @@ the line could be found." (unless (gnus-buffer-live-p nntp-server-buffer) (setq nntp-server-buffer (get-buffer-create " *nntpd*"))) (with-current-buffer nntp-server-buffer - (mm-enable-multibyte) (erase-buffer) + (mm-enable-multibyte) (kill-all-local-variables) (setq case-fold-search t) ;Should ignore case. (set (make-local-variable 'nntp-process-response) nil) -- 2.39.5