From fc5a4218929d7e3b65a33b81782fdaca75c5faae Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 9 Sep 2022 18:09:36 +0200 Subject: [PATCH] Fix --without-x compilation warnings * lisp/image/image-dired.el (clear-image-cache): * lisp/image/image-dired-external.el (clear-image-cache): Fix compilation warning (bug#57695). --- lisp/image/image-dired-external.el | 1 + lisp/image/image-dired.el | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lisp/image/image-dired-external.el b/lisp/image/image-dired-external.el index c26cedc9f2c..223d881bcfa 100644 --- a/lisp/image/image-dired-external.el +++ b/lisp/image/image-dired-external.el @@ -30,6 +30,7 @@ (require 'image-dired-util) (declare-function image-dired-display-image "image-dired") +(declare-function clear-image-cache "image.c" (&optional filter)) (defvar image-dired-dir) (defvar image-dired-main-image-directory) diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index e799f2e748b..a22edee2ec5 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el @@ -1448,6 +1448,8 @@ of the thumbnail file." :type '(repeat (string :tag "Argument"))) (make-obsolete-variable 'image-dired-cmd-rotate-thumbnail-options nil "29.1") +(declare-function clear-image-cache "image.c" (&optional filter)) + (defun image-dired-rotate-thumbnail (degrees) "Rotate thumbnail DEGREES degrees." (declare (obsolete image-dired-refresh-thumb "29.1")) -- 2.39.2