From 20caff33232a17bc93a0a443434a322a1158cd35 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 20 Sep 2000 16:47:30 +0000 Subject: [PATCH] (mm-valid-and-fit-image-p): Use display-graphic-p. --- lisp/gnus/mm-decode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.39.2