From 3e049ed883aef931316f6458b6e1d40738be4902 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Wed, 21 Sep 2005 00:17:14 +0000 Subject: [PATCH] Synch to No Gnus 200509210016. --- lisp/ChangeLog | 5 +++++ lisp/mm-view.el | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d8581c1..e749d3e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-09-21 Katsumi Yamaoka + + * mm-view.el (mm-inline-text-html-render-with-w3m): Bind + w3m-treat-image-size to avoid inserting excessive newlines. + 2005-09-20 Lars Magne Ingebrigtsen * gnus-agent.el (gnus-agent-synchronize-flags): Switch the diff --git a/lisp/mm-view.el b/lisp/mm-view.el index 8bf0c66..2983a1a 100644 --- a/lisp/mm-view.el +++ b/lisp/mm-view.el @@ -244,7 +244,9 @@ (delete-region (point-min) (point-max)) (insert (mm-decode-string text charset)))) (let ((w3m-safe-url-regexp mm-w3m-safe-url-regexp) - w3m-force-redisplay) + w3m-force-redisplay + ;; Avoid inserting excessive newlines. + w3m-treat-image-size) (w3m-region (point-min) (point-max) nil charset)) (when (and mm-inline-text-html-with-w3m-keymap (boundp 'w3m-minor-mode-map) -- 1.7.10.4