From: Dave Love Date: Wed, 20 Sep 2000 16:47:30 +0000 (+0000) Subject: (mm-valid-and-fit-image-p): Use display-graphic-p. X-Git-Tag: emacs-pretest-21.0.90~1474 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=20caff33232a17bc93a0a443434a322a1158cd35;p=emacs.git (mm-valid-and-fit-image-p): Use display-graphic-p. --- 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." (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)))