2010-09-22 Julien Danjou <julien@danjou.info>
- * gnus-html.el (gnus-html-rescale-image): Use window-inside-pixel-edges
- rather than window-pixel-edges.
(gnus-html-put-image): Stop using markers. They are harmful if you have
2 images side-by-side, they can't be properly update on text deletion.
Using text-property is safer here.
image
(let* ((width (car size))
(height (cdr size))
- (edges (window-inside-pixel-edges (get-buffer-window (current-buffer))))
+ (edges (window-pixel-edges (get-buffer-window (current-buffer))))
(window-width (truncate (* gnus-max-image-proportion
(- (nth 2 edges) (nth 0 edges)))))
(window-height (truncate (* gnus-max-image-proportion