Mercurial > emacs
diff lisp/thumbs.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 | 814d2d823dd7 |
line wrap: on
line diff
--- a/lisp/thumbs.el Thu Jun 12 03:54:06 2008 +0000 +++ b/lisp/thumbs.el Thu Jun 12 03:56:20 2008 +0000 @@ -334,6 +334,8 @@ ((string-match ".*\\.png\\'" img) 'png) ((string-match ".*\\.tiff?\\'" img) 'tiff))) +(declare-function image-size "image.c" (spec &optional pixels frame)) + (defun thumbs-file-size (img) (let ((i (image-size (find-image `((:type ,(thumbs-image-type img) :file ,img))) t)))