# HG changeset patch # User Dave Love # Date 969468450 0 # Node ID 480df1496aef4332b0d0e7b4bb2bf4d32883aa8a # Parent 8a6a4f06f1458d18e861f792fd41e4473c5802fe (mm-valid-and-fit-image-p): Use display-graphic-p. diff -r 8a6a4f06f145 -r 480df1496aef lisp/gnus/mm-decode.el --- 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)))