From 270144816041f7638249a18218499dfce4e23a34 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 27 Oct 2000 19:23:27 +0000 Subject: [PATCH] (mm-valid-and-fit-image-p): Don't test window-system here. --- lisp/mm-decode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el index 5a4ac06bc..c549ebd41 100644 --- a/lisp/mm-decode.el +++ b/lisp/mm-decode.el @@ -838,8 +838,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 - (mm-valid-image-format-p format) + (and (mm-valid-image-format-p format) (mm-image-fit-p handle))) (provide 'mm-decode) -- 2.34.1