aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-05-14 20:45:58 +0300
committerEli Zaretskii2024-05-14 20:45:58 +0300
commit0a008401dc083bcba5bd704ba5eb866c03facdc2 (patch)
tree5cb3165b1b44f7345c458be21a511759d8d0b2bd
parent4a973ce7e2b647a6adb0a6eaab74426a332f5721 (diff)
downloademacs-0a008401dc083bcba5bd704ba5eb866c03facdc2.tar.gz
emacs-0a008401dc083bcba5bd704ba5eb866c03facdc2.zip
Avoid another warning (bug#70942).
-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'."
191 "Return non-nil if there is an `image-dired' thumbnail at point." 191 "Return non-nil if there is an `image-dired' thumbnail at point."
192 (get-text-property (point) 'image-dired-thumbnail)) 192 (get-text-property (point) 'image-dired-thumbnail))
193 193
194(declare-function clear-image-cache "image.c" (&optional filter))
195
194(defun image-dired-update-thumbnail-at-point () 196(defun image-dired-update-thumbnail-at-point ()
195 "Update the thumbnail at point if the original image file has been modified. 197 "Update the thumbnail at point if the original image file has been modified.
196This function uncaches and removes the thumbnail file under the old name." 198This function uncaches and removes the thumbnail file under the old name."