From: Stefan Monnier Date: Sat, 5 Apr 2008 20:02:32 +0000 (+0000) Subject: (nnweb-init): Avoid nn-with-unibyte. X-Git-Tag: emacs-pretest-23.0.90~6535 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b728e953fb712516c022ee680ef8b8988d59078;p=emacs.git (nnweb-init): Avoid nn-with-unibyte. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 56562063926..717b3bad0e2 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2008-04-05 Stefan Monnier + + * nnweb.el (nnweb-init): Avoid nn-with-unibyte. + 2008-04-03 Stefan Monnier * gnus-win.el (gnus-configure-frame, gnus-all-windows-visible-p): diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el index 3609c90a36d..83b2306c7cc 100644 --- a/lisp/gnus/nnweb.el +++ b/lisp/gnus/nnweb.el @@ -294,12 +294,12 @@ Valid types include `google', `dejanews', and `gmane'.") "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