aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2005-10-19 21:54:11 +0000
committerKim F. Storm2005-10-19 21:54:11 +0000
commit1ac3cfd843d061fea94d5087bcc3fd59b7c1b2f1 (patch)
tree411f9b0b7c029acb451f37715222e33fc7970d1d
parent7df4765a4cef4cad91f471b606834867125e11ff (diff)
downloademacs-1ac3cfd843d061fea94d5087bcc3fd59b7c1b2f1.tar.gz
emacs-1ac3cfd843d061fea94d5087bcc3fd59b7c1b2f1.zip
(Showing Images): Add max-image-size integer value.
-rw-r--r--lispref/display.texi12
1 files changed, 8 insertions, 4 deletions
diff --git a/lispref/display.texi b/lispref/display.texi
index 071be35e01c..ba27b900cdb 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -4061,10 +4061,14 @@ Focus}).
4061@defvar max-image-size 4061@defvar max-image-size
4062@tindex max-image-size 4062@tindex max-image-size
4063This variable is used to define the maximum size of image that Emacs 4063This variable is used to define the maximum size of image that Emacs
4064will load. If its value is a floating point number, that number is 4064will load. Emacs will refuse to load (and display) any image that is
4065multiplied by the width and height of the selected frame, in pixels, 4065larger than this limit.
4066to give the maximum image width and height. Emacs will refuse to load 4066
4067and display any image that is larger than this. 4067If the value is an integer, it directly specifies the maximum
4068image height and width, measured in pixels. If it is a floating
4069point number, it specifies the maximum image height and width
4070as a ratio to the frame height and width. If the value is
4071non-numeric, there is no explicit limit on the size of images.
4068 4072
4069The purpose of this variable is to prevent unreasonably large images 4073The purpose of this variable is to prevent unreasonably large images
4070from accidentally being loaded into Emacs. It only takes effect the 4074from accidentally being loaded into Emacs. It only takes effect the