diff options
| author | Chong Yidong | 2005-10-19 03:55:44 +0000 |
|---|---|---|
| committer | Chong Yidong | 2005-10-19 03:55:44 +0000 |
| commit | 63ab30d0bdda9df5e0db1db4df1d8c6679eae5fe (patch) | |
| tree | f7a84e4464044318896f7698404d3ddf98a5152d | |
| parent | 8646a62e20230db0bc05c7b610e5c1ac66a62c24 (diff) | |
| download | emacs-63ab30d0bdda9df5e0db1db4df1d8c6679eae5fe.tar.gz emacs-63ab30d0bdda9df5e0db1db4df1d8c6679eae5fe.zip | |
* display.texi (Showing Images): Document max-image-size.
| -rw-r--r-- | lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | lispref/display.texi | 15 |
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 @@ | |||
| 1 | 2005-10-18 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * display.texi (Showing Images): Document max-image-size. | ||
| 4 | |||
| 1 | 2005-10-17 Richard M. Stallman <rms@gnu.org> | 5 | 2005-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. | |||
| 4058 | Focus}). | 4058 | Focus}). |
| 4059 | @end defun | 4059 | @end defun |
| 4060 | 4060 | ||
| 4061 | @defvar max-image-size | ||
| 4062 | @tindex max-image-size | ||
| 4063 | This variable is used to define the maximum size of image that Emacs | ||
| 4064 | will load. If its value is a floating point number, that number is | ||
| 4065 | multiplied by the width and height of the selected frame, in pixels, | ||
| 4066 | to give the maximum image width and height. Emacs will refuse to load | ||
| 4067 | and display any image that is larger than this. | ||
| 4068 | |||
| 4069 | The purpose of this variable is to prevent unreasonably large images | ||
| 4070 | from accidentally being loaded into Emacs. It only takes effect the | ||
| 4071 | first time an image is loaded. Once an image is placed in the image | ||
| 4072 | cache, 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 | ||