Defaults to zero for image-dired--number-of-thumbnails

* lisp/image/image-dired.el (image-dired--number-of-thumbnails):
Defaults zero to avoid wrong type argument error.  (Bug#61734)
This commit is contained in:
Manuel Giraud 2023-02-23 16:42:48 +01:00 committed by Eli Zaretskii
parent 5dc163f592
commit eb2ab52fb0

View file

@ -546,7 +546,7 @@ Restore any changes to the window configuration made by calling
(t (t
(image-dired-line-up-dynamic)))) (image-dired-line-up-dynamic))))
(defvar-local image-dired--number-of-thumbnails nil) (defvar-local image-dired--number-of-thumbnails 0)
;;;###autoload ;;;###autoload
(defun image-dired-display-thumbs (&optional arg append do-not-pop) (defun image-dired-display-thumbs (&optional arg append do-not-pop)