aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2012-02-14 22:40:08 -0800
committerPaul Eggert2012-02-14 22:40:08 -0800
commit1127311509efca0c5ba00c583c98e09dddd63dd8 (patch)
treefa4549ede4caaf563ff91025f4aba3cbb0406632 /lisp
parent34706efab43c7e031d660438f05d6d775fd546a8 (diff)
downloademacs-1127311509efca0c5ba00c583c98e09dddd63dd8.tar.gz
emacs-1127311509efca0c5ba00c583c98e09dddd63dd8.zip
Increase default image size limit; don't unlimit Gnus.
* lisp/gnus/shr.el (shr-rescale-image): Undo previous change; see <http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00540.html>. * src/image.c (MAX_IMAGE_SIZE): Increase from 6.0 to 10.0; see <http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00540.html>.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/shr.el3
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 99554cd9ffe..59796c9df4f 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12012-02-15 Paul Eggert <eggert@cs.ucla.edu>
2
3 * shr.el (shr-rescale-image): Undo previous change; see
4 <http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00540.html>.
5
12012-02-13 Lars Ingebrigtsen <larsi@gnus.org> 62012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2 7
3 * nnimap.el (nnimap-record-commands): New variable. 8 * nnimap.el (nnimap-record-commands): New variable.
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index 47622f5183d..a8bbc77a4b1 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -557,8 +557,7 @@ the URL of the image to the kill buffer instead."
557 (insert alt))) 557 (insert alt)))
558 558
559(defun shr-rescale-image (data) 559(defun shr-rescale-image (data)
560 (let* ((max-image-size nil) 560 (let ((image (create-image data nil t :ascent 100)))
561 (image (create-image data nil t :ascent 100)))
562 (if (or (not (fboundp 'imagemagick-types)) 561 (if (or (not (fboundp 'imagemagick-types))
563 (not (get-buffer-window (current-buffer)))) 562 (not (get-buffer-window (current-buffer))))
564 image 563 image