changeset 92776:cb44c6d29ee0

(nnweb-insert-html): Remove use of nnheader-string-as-multibyte.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 12 Mar 2008 19:20:33 +0000
parents d9f180e8f9ac
children 1186239f19c8
files lisp/gnus/ChangeLog lisp/gnus/nnweb.el
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Wed Mar 12 19:07:16 2008 +0000
+++ b/lisp/gnus/ChangeLog	Wed Mar 12 19:20:33 2008 +0000
@@ -1,5 +1,8 @@
 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* nnweb.el (nnweb-insert-html):
+	Remove use of nnheader-string-as-multibyte.
+
 	* nnheader.el (nnheader-init-server-buffer): Use with-current-buffer.
 	(nnheader-string-as-multibyte): Remove.
 
--- a/lisp/gnus/nnweb.el	Wed Mar 12 19:07:16 2008 +0000
+++ b/lisp/gnus/nnweb.el	Wed Mar 12 19:20:33 2008 +0000
@@ -544,7 +544,11 @@
 (defun nnweb-insert-html (parse)
   "Insert HTML based on a w3 parse tree."
   (if (stringp parse)
-      (insert (nnheader-string-as-multibyte parse))
+      ;; We used to call nnheader-string-as-multibyte here, but it cannot
+      ;; be right, so I removed it.  If a bug shows up because of this change,
+      ;; please do not blindly revert the change, but help me find the real
+      ;; cause of the bug instead.  --Stef
+      (insert parse)
     (insert "<" (symbol-name (car parse)) " ")
     (insert (mapconcat
 	     (lambda (param)
@@ -610,5 +614,5 @@
 
 (provide 'nnweb)
 
-;;; arch-tag: f59307eb-c90f-479f-b7d2-dbd8bf51b697
+;; arch-tag: f59307eb-c90f-479f-b7d2-dbd8bf51b697
 ;;; nnweb.el ends here