]> git.eshelyaron.com Git - emacs.git/commitdiff
(mm-valid-and-fit-image-p): Use display-graphic-p.
authorDave Love <fx@gnu.org>
Wed, 20 Sep 2000 16:47:30 +0000 (16:47 +0000)
committerDave Love <fx@gnu.org>
Wed, 20 Sep 2000 16:47:30 +0000 (16:47 +0000)
lisp/gnus/mm-decode.el

index 97fa35b4c1f1984e759b0e3b23f4de5412f2adc5..3e24795f6a9e1e88b38e1310dccbe302e9162139 100644 (file)
@@ -828,7 +828,7 @@ external if displayed external."
 
 (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)))