]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix --without-x compilation warnings
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 9 Sep 2022 16:09:36 +0000 (18:09 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 9 Sep 2022 16:09:36 +0000 (18:09 +0200)
* 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
lisp/image/image-dired.el

index c26cedc9f2c97e2530414b2cbbe7eb7ff40c597f..223d881bcfa5b115df8086b0d183e685efd4faad 100644 (file)
@@ -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)
index e799f2e748b6a4b4fb050b3dd2c0f1f1d63053e9..a22edee2ec5c7d9c186ee5eb14259174861bb409 100644 (file)
@@ -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"))