diff options
| author | Dave Love | 2000-09-20 16:47:30 +0000 |
|---|---|---|
| committer | Dave Love | 2000-09-20 16:47:30 +0000 |
| commit | 20caff33232a17bc93a0a443434a322a1158cd35 (patch) | |
| tree | 1e28b159a34210d446370ae6fc9bb0f4e3fdf366 | |
| parent | ceaed79bfa47bd77f0e0ab63b01b7dc954999aea (diff) | |
| download | emacs-20caff33232a17bc93a0a443434a322a1158cd35.tar.gz emacs-20caff33232a17bc93a0a443434a322a1158cd35.zip | |
(mm-valid-and-fit-image-p): Use display-graphic-p.
| -rw-r--r-- | lisp/gnus/mm-decode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index 97fa35b4c1f..3e24795f6a9 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -828,7 +828,7 @@ external if displayed external." | |||
| 828 | 828 | ||
| 829 | (defun mm-valid-and-fit-image-p (format handle) | 829 | (defun mm-valid-and-fit-image-p (format handle) |
| 830 | "Say whether FORMAT can be displayed natively and HANDLE fits the window." | 830 | "Say whether FORMAT can be displayed natively and HANDLE fits the window." |
| 831 | (and window-system | 831 | (and (display-graphic-p) |
| 832 | (mm-valid-image-format-p format) | 832 | (mm-valid-image-format-p format) |
| 833 | (mm-image-fit-p handle))) | 833 | (mm-image-fit-p handle))) |
| 834 | 834 | ||