Commit fcc6f5cc authored by Jason Rumney's avatar Jason Rumney
Browse files

(display-images-p): Do not explicitly check display type.

parent 3be38152
......@@ -946,10 +946,7 @@ DISPLAY can be a display name, a frame, or nil (meaning the selected
frame's display)."
(and (display-graphic-p display)
(fboundp 'image-mask-p)
(fboundp 'image-size)
;; FIXME: this will need to be revisited when the Windows port
;; supports images.
(not (eq (framep-on-display display) 'w32))))
(fboundp 'image-size)))
(defalias 'display-multi-frame-p 'display-graphic-p)
(defalias 'display-multi-font-p 'display-graphic-p)
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