From eb2ab52fb0180daa792d4b7ff290f348fef12115 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Thu, 23 Feb 2023 16:42:48 +0100 Subject: [PATCH] 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) --- lisp/image/image-dired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index 8e2a75a418f..6ecb307ce12 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el @@ -546,7 +546,7 @@ Restore any changes to the window configuration made by calling (t (image-dired-line-up-dynamic)))) -(defvar-local image-dired--number-of-thumbnails nil) +(defvar-local image-dired--number-of-thumbnails 0) ;;;###autoload (defun image-dired-display-thumbs (&optional arg append do-not-pop) -- 2.39.5