From: Stefan Kangas Date: Mon, 25 Oct 2021 03:47:56 +0000 (+0200) Subject: Double value of image-dired-show-all-from-dir-max-files X-Git-Tag: emacs-29.0.90~3671^2~426 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5dd07e1ba1919aafe9df7cda79e2808c1984e0c3;p=emacs.git Double value of image-dired-show-all-from-dir-max-files * lisp/image-dired.el (image-dired-show-all-from-dir-max-files): Double the amount of files in directory before prompting. This could be even higher, as the thumbnails are generated asynchronously and are small by default. --- diff --git a/lisp/image-dired.el b/lisp/image-dired.el index e2aba710c1a..210361f6038 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el @@ -556,10 +556,12 @@ Including parameters. Used when displaying original image from Used by `image-dired-copy-with-exif-file-name'." :type 'string) -(defcustom image-dired-show-all-from-dir-max-files 50 - "Maximum number of files to show using `image-dired-show-all-from-dir' -before warning." - :type 'integer) +(defcustom image-dired-show-all-from-dir-max-files 100 + "Maximum number of files in directory before prompting. +If there are more files than this in a selected directory, the +`image-dired-show-all-from-dir' command will show a prompt." + :type 'integer + :version "29.1") (defmacro image-dired--with-db-file (&rest body) "Run BODY in a temp buffer containing `image-dired-db-file'.