Variable: image-dired-show-all-from-dir-max-files
image-dired-show-all-from-dir-max-files is a customizable variable
defined in image-dired.el.gz.
Value
1000
Documentation
Maximum number of files in directory to show before prompting.
If there are more image files in a selected directory than this number,
the image-dired-show-all-from-dir command will ask for
confirmation before creating the thumbnail buffer. If this
variable is nil, never ask.
This variable was added, or its default value changed, in Emacs 29.1.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/image/image-dired.el.gz
(defcustom image-dired-show-all-from-dir-max-files 1000
"Maximum number of files in directory to show before prompting.
If there are more image files in a selected directory than this number,
the `image-dired-show-all-from-dir' command will ask for
confirmation before creating the thumbnail buffer. If this
variable is nil, never ask."
:type '(choice integer
(const :tag "Don't ask for confirmation" nil))
:version "29.1")