changeset 93722:ac376173ee3d

(nnweb-init): Avoid nn-with-unibyte.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 05 Apr 2008 20:02:32 +0000
parents 6604d09cf521
children 2da1f95ea11c
files lisp/gnus/ChangeLog lisp/gnus/nnweb.el
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Sat Apr 05 20:00:23 2008 +0000
+++ b/lisp/gnus/ChangeLog	Sat Apr 05 20:02:32 2008 +0000
@@ -1,3 +1,7 @@
+2008-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* nnweb.el (nnweb-init): Avoid nn-with-unibyte.
+
 2008-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* gnus-win.el (gnus-configure-frame, gnus-all-windows-visible-p):
--- a/lisp/gnus/nnweb.el	Sat Apr 05 20:00:23 2008 +0000
+++ b/lisp/gnus/nnweb.el	Sat Apr 05 20:02:32 2008 +0000
@@ -294,12 +294,12 @@
   "Initialize buffers and such."
   (unless (gnus-buffer-live-p nnweb-buffer)
     (setq nnweb-buffer
-	  (save-excursion
-	    (mm-with-unibyte
-	      (nnheader-set-temp-buffer
-	       (format " *nnweb %s %s %s*"
-		       nnweb-type nnweb-search server))
-	      (current-buffer))))))
+	  (save-current-buffer
+            (nnheader-set-temp-buffer
+             (format " *nnweb %s %s %s*"
+                     nnweb-type nnweb-search server))
+            (mm-disable-multibyte)
+            (current-buffer)))))
 
 ;;;
 ;;; groups.google.com