From: Eli Zaretskii Date: Tue, 14 May 2024 17:45:58 +0000 (+0300) Subject: Avoid another warning (bug#70942). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=54ae32c0c069c17a267ad50882ba5b2c18a5c719;p=emacs.git Avoid another warning (bug#70942). (cherry picked from commit 0a008401dc083bcba5bd704ba5eb866c03facdc2) --- 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."