diff options
| author | Lars Ingebrigtsen | 2019-09-16 22:30:04 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-09-16 22:30:04 +0200 |
| commit | e46831507556639ecb9db2f864d4cb3a2c11ec4a (patch) | |
| tree | f99ae1d796b0196b35c40b0476ebfbf288eca3ca /lisp | |
| parent | f1e5877a6b2f577f85c893a8f05475e213a212c2 (diff) | |
| download | emacs-e46831507556639ecb9db2f864d4cb3a2c11ec4a.tar.gz emacs-e46831507556639ecb9db2f864d4cb3a2c11ec4a.zip | |
Default to rescaling images in mm buffers
* doc/misc/emacs-mime.texi (Display Customization): Document it.
* lisp/gnus/mm-decode.el (mm-inline-large-images): Change default
to `resize'.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/mm-decode.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index a763e34785d..5636b8eca47 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -381,10 +381,11 @@ enables you to choose manually one of two types those mails include." | |||
| 381 | :type 'directory | 381 | :type 'directory |
| 382 | :group 'mime-display) | 382 | :group 'mime-display) |
| 383 | 383 | ||
| 384 | (defcustom mm-inline-large-images nil | 384 | (defcustom mm-inline-large-images 'resize |
| 385 | "If nil, images larger than the window aren't displayed in the buffer. | 385 | "If nil, images larger than the window aren't displayed in the buffer. |
| 386 | If `resize', try to resize the images so they fit in the buffer. | 386 | If `resize', try to resize the images so they fit in the buffer. |
| 387 | If t, show the images as they are without resizing." | 387 | If t, show the images as they are without resizing." |
| 388 | :version "27.1" | ||
| 388 | :type '(radio | 389 | :type '(radio |
| 389 | (const :tag "Inline large images as they are." t) | 390 | (const :tag "Inline large images as they are." t) |
| 390 | (const :tag "Resize large images." resize) | 391 | (const :tag "Resize large images." resize) |