]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid another warning (bug#70942).
authorEli Zaretskii <eliz@gnu.org>
Tue, 14 May 2024 17:45:58 +0000 (20:45 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 16 May 2024 08:21:56 +0000 (10:21 +0200)
(cherry picked from commit 0a008401dc083bcba5bd704ba5eb866c03facdc2)

lisp/image/image-dired-util.el

index c3860cb0b0a4ed0af0f8e7f6bf668e633303398c..e9048e157cd9c29a2f45e8c74fa4b1b0fc3857e3 100644 (file)
@@ -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."