aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2005-10-19 03:55:44 +0000
committerChong Yidong2005-10-19 03:55:44 +0000
commit63ab30d0bdda9df5e0db1db4df1d8c6679eae5fe (patch)
treef7a84e4464044318896f7698404d3ddf98a5152d
parent8646a62e20230db0bc05c7b610e5c1ac66a62c24 (diff)
downloademacs-63ab30d0bdda9df5e0db1db4df1d8c6679eae5fe.tar.gz
emacs-63ab30d0bdda9df5e0db1db4df1d8c6679eae5fe.zip
* display.texi (Showing Images): Document max-image-size.
-rw-r--r--lispref/ChangeLog4
-rw-r--r--lispref/display.texi15
2 files changed, 19 insertions, 0 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 36c3fd342de..c2d799cee95 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,7 @@
12005-10-18 Chong Yidong <cyd@stupidchicken.com>
2
3 * display.texi (Showing Images): Document max-image-size.
4
12005-10-17 Richard M. Stallman <rms@gnu.org> 52005-10-17 Richard M. Stallman <rms@gnu.org>
2 6
3 * commands.texi (Quitting): Minor clarification. 7 * commands.texi (Quitting): Minor clarification.
diff --git a/lispref/display.texi b/lispref/display.texi
index 4c534282011..071be35e01c 100644
--- a/lispref/display.texi
+++ b/lispref/display.texi
@@ -4058,6 +4058,21 @@ font). @var{frame} is the frame on which the image will be displayed.
4058Focus}). 4058Focus}).
4059@end defun 4059@end defun
4060 4060
4061@defvar max-image-size
4062@tindex max-image-size
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
4065multiplied by the width and height of the selected frame, in pixels,
4066to give the maximum image width and height. Emacs will refuse to load
4067and display any image that is larger than this.
4068
4069The purpose of this variable is to prevent unreasonably large images
4070from accidentally being loaded into Emacs. It only takes effect the
4071first time an image is loaded. Once an image is placed in the image
4072cache, it can always be displayed, even if the value of
4073@var{max-image-size} is subsequently changed (@pxref{Image Cache}).
4074@end defvar
4075
4061@node Image Cache 4076@node Image Cache
4062@subsection Image Cache 4077@subsection Image Cache
4063 4078