changeset 93727:8bfa051b51fe

(nnheader-init-server-buffer): Change buffer's multibyteness after rather than before erasing it.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 05 Apr 2008 20:14:17 +0000
parents 3e95f26e3241
children c963dc42db06
files lisp/gnus/ChangeLog lisp/gnus/nnheader.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Sat Apr 05 20:12:37 2008 +0000
+++ b/lisp/gnus/ChangeLog	Sat Apr 05 20:14:17 2008 +0000
@@ -1,5 +1,8 @@
 2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* 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
--- a/lisp/gnus/nnheader.el	Sat Apr 05 20:12:37 2008 +0000
+++ b/lisp/gnus/nnheader.el	Sat Apr 05 20:14:17 2008 +0000
@@ -575,8 +575,8 @@
   (unless (gnus-buffer-live-p nntp-server-buffer)
     (setq nntp-server-buffer (get-buffer-create " *nntpd*")))
   (with-current-buffer nntp-server-buffer
+    (erase-buffer)
     (mm-enable-multibyte)
-    (erase-buffer)
     (kill-all-local-variables)
     (setq case-fold-search t)		;Should ignore case.
     (set (make-local-variable 'nntp-process-response) nil)