Commit 9554f4ac authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

shr.el (shr-rescale-image): Allow viewing large images.

parent 4eff9c1a
2012-02-13 Lars Ingebrigtsen <>
* shr.el (shr-rescale-image): Allow viewing large images.
2012-02-12 Lars Ingebrigtsen <>
* nnml.el (nnml-request-compact-group): Delete the marks file after
......@@ -557,7 +557,8 @@ the URL of the image to the kill buffer instead."
(insert alt)))
(defun shr-rescale-image (data)
(let ((image (create-image data nil t :ascent 100)))
(let* ((max-image-size 0)
(image (create-image data nil t :ascent 100)))
(if (or (not (fboundp 'imagemagick-types))
(not (get-buffer-window (current-buffer))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment