+2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * image.el (image-type-available-p): Don't reference image-types
+ if it isn't bound.
+
2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
* autoarg.el (autoarg-mode): Typo in the :set argument.
(defun image-type-available-p (type)
"Value is non-nil if image type TYPE is available.
Image types are symbols like `xbm' or `jpeg'."
- (not (null (memq type image-types))))
+ (and (boundp 'image-types) (not (null (memq type image-types)))))
;;;###autoload