Commit 20caff33 authored by Dave Love's avatar Dave Love
Browse files

(mm-valid-and-fit-image-p): Use display-graphic-p.

parent ceaed79b
......@@ -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)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment