changeset 31782:480df1496aef

(mm-valid-and-fit-image-p): Use display-graphic-p.
author Dave Love <fx@gnu.org>
date Wed, 20 Sep 2000 16:47:30 +0000
parents 8a6a4f06f145
children 65104da03c90
files lisp/gnus/mm-decode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/mm-decode.el	Wed Sep 20 16:46:34 2000 +0000
+++ b/lisp/gnus/mm-decode.el	Wed Sep 20 16:47:30 2000 +0000
@@ -828,7 +828,7 @@
 
 (defun mm-valid-and-fit-image-p (format handle)
   "Say whether FORMAT can be displayed natively and HANDLE fits the window."
-  (and window-system
+  (and (display-graphic-p)
        (mm-valid-image-format-p format)
        (mm-image-fit-p handle)))