Mercurial > emacs
comparison lisp/image.el @ 95841:b4e36ff621b3
Add some compiler declarations, for builds without X.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 12 Jun 2008 03:56:20 +0000 |
parents | ee5932bf781d |
children | 1c3bafe6e816 |
comparison
equal
deleted
inserted
replaced
95840:0e3c2e18b9c3 | 95841:b4e36ff621b3 |
---|---|
324 (or (memq type (and (boundp 'image-types) image-types)) | 324 (or (memq type (and (boundp 'image-types) image-types)) |
325 (error "Invalid image type `%s'" type)) | 325 (error "Invalid image type `%s'" type)) |
326 type) | 326 type) |
327 | 327 |
328 | 328 |
329 (defvar image-library-alist) | |
330 | |
329 ;;;###autoload | 331 ;;;###autoload |
330 (defun image-type-available-p (type) | 332 (defun image-type-available-p (type) |
331 "Return non-nil if image type TYPE is available. | 333 "Return non-nil if image type TYPE is available. |
332 Image types are symbols like `xbm' or `jpeg'." | 334 Image types are symbols like `xbm' or `jpeg'." |
333 (and (fboundp 'init-image-library) | 335 (and (fboundp 'init-image-library) |