From 54ae32c0c069c17a267ad50882ba5b2c18a5c719 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 14 May 2024 20:45:58 +0300 Subject: [PATCH] Avoid another warning (bug#70942). (cherry picked from commit 0a008401dc083bcba5bd704ba5eb866c03facdc2) --- lisp/image/image-dired-util.el | 2 ++ 1 file changed, 2 insertions(+) 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." -- 2.39.5