From 944c87e0619c80ea22a795fd9df4755ed0b2f7b5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 12 Mar 2008 19:20:33 +0000 Subject: [PATCH] (nnweb-insert-html): Remove use of nnheader-string-as-multibyte. --- lisp/gnus/ChangeLog | 3 +++ lisp/gnus/nnweb.el | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 026b2779ec6..fa1f94e4753 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -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 --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el index 56a287ef5e7..3609c90a36d 100644 --- a/lisp/gnus/nnweb.el +++ b/lisp/gnus/nnweb.el @@ -544,7 +544,11 @@ Valid types include `google', `dejanews', and `gmane'.") (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 @@ Valid types include `google', `dejanews', and `gmane'.") (provide 'nnweb) -;;; arch-tag: f59307eb-c90f-479f-b7d2-dbd8bf51b697 +;; arch-tag: f59307eb-c90f-479f-b7d2-dbd8bf51b697 ;;; nnweb.el ends here -- 2.39.2