From: Stefan Monnier Date: Sat, 5 Apr 2008 20:14:17 +0000 (+0000) Subject: (nnheader-init-server-buffer): Change buffer's multibyteness X-Git-Tag: emacs-pretest-23.0.90~6530 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=33e2f72c04be3ff98e7ef5895b0fe5e0f7bc14ed;p=emacs.git (nnheader-init-server-buffer): Change buffer's multibyteness after rather than before erasing it. --- 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)