summaryrefslogtreecommitdiff
path: root/lisp/image
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-05-14 20:45:58 +0300
committerEli Zaretskii <eliz@gnu.org>2024-05-14 20:45:58 +0300
commit0a008401dc083bcba5bd704ba5eb866c03facdc2 (patch)
tree5cb3165b1b44f7345c458be21a511759d8d0b2bd /lisp/image
parent4a973ce7e2b647a6adb0a6eaab74426a332f5721 (diff)
Avoid another warning (bug#70942).
Diffstat (limited to 'lisp/image')
-rw-r--r--lisp/image/image-dired-util.el2
1 files changed, 2 insertions, 0 deletions
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."