1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(nnweb-insert-html): Remove use of nnheader-string-as-multibyte.

This commit is contained in:
Stefan Monnier 2008-03-12 19:20:33 +00:00
parent 2ec9cf150b
commit 944c87e061
2 changed files with 9 additions and 2 deletions

View file

@ -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.

View file

@ -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