# HG changeset patch # User Stefan Monnier # Date 1205349633 0 # Node ID cb44c6d29ee0feb053cb7f4f47224d0b2b13cc6e # Parent d9f180e8f9ac25e46d121243e83598da0dc27226 (nnweb-insert-html): Remove use of nnheader-string-as-multibyte. diff -r d9f180e8f9ac -r cb44c6d29ee0 lisp/gnus/ChangeLog --- 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 + * 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. diff -r d9f180e8f9ac -r cb44c6d29ee0 lisp/gnus/nnweb.el --- 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