summaryrefslogtreecommitdiff
path: root/lisp/thumbs.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-08-22 19:22:27 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-08-22 19:22:33 +0200
commit06d7161476255c77defa119fffa842b7abaa0dcb (patch)
treeaca4376ca4f4f2de9ce86461738802d1f18fff80 /lisp/thumbs.el
parenta0fa6bd5470413ee7a40486aa89d3a0710c4f356 (diff)
downloademacs-06d7161476255c77defa119fffa842b7abaa0dcb.tar.gz
Fix some no-X build warnings
* lisp/cus-edit.el (fringe-bitmap-p): Autoload. * lisp/image.el (clear-image-cache): Declare. * lisp/mouse.el (dnd-begin-file-dram): Autoload. * lisp/thumbs.el (image-supported-file-p): Declare (bug#57342). * lisp/mail/rmailmm.el (rmail-mime-set-bulk-data): * lisp/emacs-lisp/icons.el (icons--create): Avoid warnings on no-X builds.
Diffstat (limited to 'lisp/thumbs.el')
-rw-r--r--lisp/thumbs.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index 3b31f1d8090..0b3d36d6e31 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -294,6 +294,7 @@ smaller according to whether INCREMENT is 1 or -1."
tn))
(declare-function image-size "image.c" (spec &optional pixels frame))
+(declare-function image-supported-file-p "image" (file))
(defun thumbs-file-size (img)
(let ((i (image-size