(mm-inline-text-html-render-with-w3m): Bind w3m-treat-image-size to avoid
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 21 Sep 2005 00:16:52 +0000 (00:16 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 21 Sep 2005 00:16:52 +0000 (00:16 +0000)
 inserting excessive newlines.

lisp/ChangeLog
lisp/mm-view.el

index 6e1ef01..7726caf 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-21  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * 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  <larsi@gnus.org>
 
        * gnus-agent.el (gnus-agent-synchronize-flags): Switch the
index 585b59b..d6a4465 100644 (file)
            (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)