From 38322419e4d32ff9f3d5505360f2714c31aa2e8d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 18 Nov 2021 00:58:26 +0100 Subject: [PATCH] Revert "* lisp/image-dired.el: Remove unnecessary 'declare-function'." This reverts commit e0261d4a0cf2a23d32b51b84870a3a75f8273c7c. This commit gives warnings on builds --without-x. Problem pointed out by Glenn Morris in: https://lists.gnu.org/r/emacs-devel/2021-11/msg01278.html --- lisp/image-dired.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/image-dired.el b/lisp/image-dired.el index 047be5a2156..852ef0f1035 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el @@ -1739,6 +1739,8 @@ Note that n, p and and will be hijacked and bound to `image-dired-dired-next-line' and `image-dired-dired-previous-line'." :keymap image-dired-minor-mode-map) +(declare-function clear-image-cache "image.c" (&optional filter)) + (defun image-dired-create-thumbs (&optional arg) "Create thumbnail images for all marked files in Dired. With prefix argument ARG, create thumbnails even if they already exist -- 2.39.2