1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

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).
This commit is contained in:
Lars Ingebrigtsen 2022-09-09 18:09:36 +02:00
parent effb5d75a8
commit fc5a421892
2 changed files with 3 additions and 0 deletions

View 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)

View 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"))