Commit 24978190 authored by Eli Zaretskii's avatar Eli Zaretskii

(image-type-available-p): Don't reference image-types

if it isn't bound.
parent 2fca2d5d
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.
......
......@@ -72,7 +72,7 @@ be determined."
(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
......
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