From: Eli Zaretskii Date: Tue, 14 May 2024 17:45:58 +0000 (+0300) Subject: Avoid another warning (bug#70942). X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~1493 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0a008401dc083bcba5bd704ba5eb866c03facdc2;p=emacs.git Avoid another warning (bug#70942). --- diff --git a/lisp/image/image-dired-util.el b/lisp/image/image-dired-util.el index c3860cb0b0a..e9048e157cd 100644 --- a/lisp/image/image-dired-util.el +++ b/lisp/image/image-dired-util.el @@ -191,6 +191,8 @@ Should be used by commands in `image-dired-thumbnail-mode'." "Return non-nil if there is an `image-dired' thumbnail at point." (get-text-property (point) 'image-dired-thumbnail)) +(declare-function clear-image-cache "image.c" (&optional filter)) + (defun image-dired-update-thumbnail-at-point () "Update the thumbnail at point if the original image file has been modified. This function uncaches and removes the thumbnail file under the old name."