[gnus git] branch no-gnus updated: m0-1-52-g99f4e64 =1= * shr.el (shr-rescale-image): Allow viewing large images.

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  99f4e6416f9880185a5b8999ec2c81c1d4eba71c (commit)
      from  97ec3d4fa22996b57cf93ae65bb6854e08421be9 (commit)


- Log -----------------------------------------------------------------
commit 99f4e6416f9880185a5b8999ec2c81c1d4eba71c
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 13 03:43:01 2012 +0100

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

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 761184e..6341fed 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-13  Lars Ingebrigtsen  <[email protected]>
+
+	* shr.el (shr-rescale-image): Allow viewing large images.
+
 2012-02-12  Lars Ingebrigtsen  <[email protected]>
 
 	* nnml.el (nnml-request-compact-group): Delete the marks file after
diff --git a/lisp/shr.el b/lisp/shr.el
index a8bbc77..a2baa85 100644
--- a/lisp/shr.el
+++ b/lisp/shr.el
@@ -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))))
 	image

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    4 ++++
 lisp/shr.el    |    3 ++-
 2 files changed, 6 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, no-gnus has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.