From: Manuel Giraud Date: Thu, 23 Feb 2023 15:42:48 +0000 (+0100) Subject: Defaults to zero for image-dired--number-of-thumbnails X-Git-Tag: emacs-29.0.90~292 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb2ab52fb0180daa792d4b7ff290f348fef12115;p=emacs.git 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) --- 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)